Beispiel #1
0
 public void TestClientTearDown()
 {
     mockConnection = null;
     mockSocket = null;
     client = null;
     mocks = null;
 }
Beispiel #2
0
 public void TestClientTearDown()
 {
     mockConnection = null;
     mockSocket     = null;
     client         = null;
     mocks          = null;
 }
Beispiel #3
0
 public void TestClientSetUp()
 {
     mocks = new MockRepository();
     mockSocket = mocks.Stub<iSocket.iSocket>();
     mockConnection = mocks.DynamicMock<Client.iConnection>();
     client = new Client.Client();
     client.connection = mockConnection;
 }
Beispiel #4
0
 public void TestClientSetUp()
 {
     mocks             = new MockRepository();
     mockSocket        = mocks.Stub <iSocket.iSocket>();
     mockConnection    = mocks.DynamicMock <Client.iConnection>();
     client            = new Client.Client();
     client.connection = mockConnection;
 }