@@ -443,7 +443,8 @@ public void GetMore_should_use_same_session(
443443 null ,
444444 CommandResponseHandling . Return ,
445445 It . IsAny < IBsonSerializer < BsonDocument > > ( ) ,
446- It . IsAny < MessageEncoderSettings > ( ) ) )
446+ It . IsAny < MessageEncoderSettings > ( ) ,
447+ It . IsAny < IBsonSerializationDomain > ( ) ) )
447448 . Callback ( ( ) => sameSessionWasUsed = true )
448449 . Returns ( Task . FromResult ( secondBatch ) ) ;
449450
@@ -465,8 +466,9 @@ public void GetMore_should_use_same_session(
465466 null ,
466467 CommandResponseHandling . Return ,
467468 It . IsAny < IBsonSerializer < BsonDocument > > ( ) ,
468- It . IsAny < MessageEncoderSettings > ( ) ) )
469- . Callback ( ( ) => sameSessionWasUsed = true )
469+ It . IsAny < MessageEncoderSettings > ( ) ,
470+ It . IsAny < IBsonSerializationDomain > ( ) ) )
471+ . Callback ( ( ) => sameSessionWasUsed = true )
470472 . Returns ( secondBatch ) ;
471473
472474 subject. MoveNext ( CancellationToken . None ) ;
@@ -607,7 +609,8 @@ private void VerifyHowManyTimesKillCursorsCommandWasCalled(Mock<IChannelHandle>
607609 It . IsAny < Action < IMessageEncoderPostProcessor > > ( ) ,
608610 It . IsAny < CommandResponseHandling > ( ) ,
609611 It . IsAny < IBsonSerializer < BsonDocument > > ( ) ,
610- It . IsAny < MessageEncoderSettings > ( ) ) ,
612+ It . IsAny < MessageEncoderSettings > ( ) ,
613+ It . IsAny < IBsonSerializationDomain > ( ) ) ,
611614 times ) ;
612615 }
613616 else
@@ -625,7 +628,8 @@ private void VerifyHowManyTimesKillCursorsCommandWasCalled(Mock<IChannelHandle>
625628 It . IsAny < Action < IMessageEncoderPostProcessor > > ( ) ,
626629 It . IsAny < CommandResponseHandling > ( ) ,
627630 It . IsAny < IBsonSerializer < BsonDocument > > ( ) ,
628- It . IsAny < MessageEncoderSettings > ( ) ) ,
631+ It . IsAny < MessageEncoderSettings > ( ) ,
632+ It . IsAny < IBsonSerializationDomain > ( ) ) ,
629633 times ) ;
630634 }
631635 }
0 commit comments