@@ -443,7 +443,8 @@ public void GetMore_should_use_same_session(
443
443
null ,
444
444
CommandResponseHandling . Return ,
445
445
It . IsAny < IBsonSerializer < BsonDocument > > ( ) ,
446
- It . IsAny < MessageEncoderSettings > ( ) ) )
446
+ It . IsAny < MessageEncoderSettings > ( ) ,
447
+ It . IsAny < IBsonSerializationDomain > ( ) ) )
447
448
. Callback ( ( ) => sameSessionWasUsed = true )
448
449
. Returns ( Task . FromResult ( secondBatch ) ) ;
449
450
@@ -465,8 +466,9 @@ public void GetMore_should_use_same_session(
465
466
null ,
466
467
CommandResponseHandling . Return ,
467
468
It . IsAny < IBsonSerializer < BsonDocument > > ( ) ,
468
- It . IsAny < MessageEncoderSettings > ( ) ) )
469
- . Callback ( ( ) => sameSessionWasUsed = true )
469
+ It . IsAny < MessageEncoderSettings > ( ) ,
470
+ It . IsAny < IBsonSerializationDomain > ( ) ) )
471
+ . Callback ( ( ) => sameSessionWasUsed = true )
470
472
. Returns ( secondBatch ) ;
471
473
472
474
subject. MoveNext ( CancellationToken . None ) ;
@@ -607,7 +609,8 @@ private void VerifyHowManyTimesKillCursorsCommandWasCalled(Mock<IChannelHandle>
607
609
It . IsAny < Action < IMessageEncoderPostProcessor > > ( ) ,
608
610
It . IsAny < CommandResponseHandling > ( ) ,
609
611
It . IsAny < IBsonSerializer < BsonDocument > > ( ) ,
610
- It . IsAny < MessageEncoderSettings > ( ) ) ,
612
+ It . IsAny < MessageEncoderSettings > ( ) ,
613
+ It . IsAny < IBsonSerializationDomain > ( ) ) ,
611
614
times ) ;
612
615
}
613
616
else
@@ -625,7 +628,8 @@ private void VerifyHowManyTimesKillCursorsCommandWasCalled(Mock<IChannelHandle>
625
628
It . IsAny < Action < IMessageEncoderPostProcessor > > ( ) ,
626
629
It . IsAny < CommandResponseHandling > ( ) ,
627
630
It . IsAny < IBsonSerializer < BsonDocument > > ( ) ,
628
- It . IsAny < MessageEncoderSettings > ( ) ) ,
631
+ It . IsAny < MessageEncoderSettings > ( ) ,
632
+ It . IsAny < IBsonSerializationDomain > ( ) ) ,
629
633
times ) ;
630
634
}
631
635
}
0 commit comments