Exemplo n.º 1
0
 public void ThenIGetAnEchoResponseWithTheResultOnMainThreadIndex(int result, int index)
 {
     Check.That(MainThreadResponses.ElementAt(index).Result).IsEqualTo(result.ToString());
 }
Exemplo n.º 2
0
 public void WhenISendAnEchoRequestWithValueThroughTheRemoteClientOnMainThread(int value)
 {
     MainThreadResponses.Add(RemoteClient.Send <EchoRequest, EchoResponse>(new EchoRequest(value.ToString())));
 }