Exemplo n.º 1
0
 public void TestClientConnectionTearDown()
 {
     mocks      = null;
     mockSocket = null;
     mockClient = null;
     connection = null;
 }
Exemplo n.º 2
0
 public void TestClientConnectionTearDown()
 {
     mocks = null;
     mockSocket = null;
     mockClient = null;
     connection = null;
 }
Exemplo n.º 3
0
 public void TestClientConnectionSetUp()
 {
     mocks           = new MockRepository();
     mockSocket      = mocks.DynamicMock <iSocket.iSocket>();
     mockClient      = mocks.DynamicMock <Client.iClient>();
     connection      = new Client.Connection(mockClient);
     connection.sock = mockSocket;
 }
Exemplo n.º 4
0
 public void TestClientConnectionSetUp()
 {
     mocks = new MockRepository();
     mockSocket = mocks.DynamicMock<iSocket.iSocket>();
     mockClient = mocks.DynamicMock<Client.iClient>();
     connection = new Client.Connection(mockClient);
     connection.sock = mockSocket;
 }