File tree Expand file tree Collapse file tree
tests/BinanceBot.Market.Tests/Domain Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -47,19 +47,19 @@ public void Constructor_WithFuturesContractType_CreatesInstance()
4747 }
4848
4949 [ Fact ]
50- public void Constructor_WithNullBaseAsset_ThrowsArgumentNullException ( )
50+ public void Constructor_WithNullBaseAsset_ThrowsArgumentException ( )
5151 {
5252 // Act & Assert
53- var ex = Assert . Throws < ArgumentNullException > ( ( ) =>
53+ var ex = Assert . Throws < ArgumentException > ( ( ) =>
5454 new MarketSymbol ( null , "USDT" , ContractType . Spot ) ) ;
5555 Assert . Equal ( "baseAsset" , ex . ParamName ) ;
5656 }
5757
5858 [ Fact ]
59- public void Constructor_WithNullQuoteAsset_ThrowsArgumentNullException ( )
59+ public void Constructor_WithNullQuoteAsset_ThrowsArgumentException ( )
6060 {
6161 // Act & Assert
62- var ex = Assert . Throws < ArgumentNullException > ( ( ) =>
62+ var ex = Assert . Throws < ArgumentException > ( ( ) =>
6363 new MarketSymbol ( "BTC" , null , ContractType . Spot ) ) ;
6464 Assert . Equal ( "quoteAsset" , ex . ParamName ) ;
6565 }
You can’t perform that action at this time.
0 commit comments