@@ -55,10 +55,10 @@ public async Task ServerTimeout()
5555 [ Fact ]
5656 public async Task Void ( )
5757 {
58- _systemService . DidNothing = false ;
59- await _systemClient . DoNothing ( ) ;
60- _systemService . DidNothing . ShouldBeFalse ( ) ;
61- while ( ! _systemService . DidNothing )
58+ _systemService . FireAndForgetDone = false ;
59+ await _systemClient . FireAndForget ( ) ;
60+ _systemService . FireAndForgetDone . ShouldBeFalse ( ) ;
61+ while ( ! _systemService . FireAndForgetDone )
6262 {
6363 await Task . Delay ( 10 ) ;
6464 Trace . WriteLine ( this + " Void" ) ;
@@ -202,26 +202,26 @@ public async Task BeforeCall()
202202 var proxy = SystemClientBuilder ( ) . BeforeCall ( async ( c , _ ) =>
203203 {
204204 newConnection = c . NewConnection ;
205- c . Method . ShouldBe ( typeof ( ISystemService ) . GetMethod ( nameof ( ISystemService . DoNothing ) ) ) ;
205+ c . Method . ShouldBe ( typeof ( ISystemService ) . GetMethod ( nameof ( ISystemService . FireAndForget ) ) ) ;
206206 c . Arguments . Single ( ) . ShouldBe ( "" ) ; // cancellation token
207207 } ) . ValidateAndBuild ( ) ;
208208 newConnection . ShouldBeFalse ( ) ;
209209
210- await proxy . DoNothing ( ) ;
210+ await proxy . FireAndForget ( ) ;
211211 newConnection . ShouldBeTrue ( ) ;
212212
213- await proxy . DoNothing ( ) ;
213+ await proxy . FireAndForget ( ) ;
214214 newConnection . ShouldBeFalse ( ) ;
215215 var ipcProxy = ( IpcProxy ) proxy ;
216216 var closed = false ;
217217 ipcProxy . Connection . Closed += delegate { closed = true ; } ;
218218 ipcProxy . CloseConnection ( ) ;
219219 closed . ShouldBeTrue ( ) ;
220220 newConnection . ShouldBeFalse ( ) ;
221- await proxy . DoNothing ( ) ;
221+ await proxy . FireAndForget ( ) ;
222222 newConnection . ShouldBeTrue ( ) ;
223223
224- await proxy . DoNothing ( ) ;
224+ await proxy . FireAndForget ( ) ;
225225 newConnection . ShouldBeFalse ( ) ;
226226 ipcProxy . CloseConnection ( ) ;
227227 }
0 commit comments