public void TestClientTearDown() { mockConnection = null; mockSocket = null; client = null; mocks = null; }
public void TestClientSetUp() { mocks = new MockRepository(); mockSocket = mocks.Stub<iSocket.iSocket>(); mockConnection = mocks.DynamicMock<Client.iConnection>(); client = new Client.Client(); client.connection = mockConnection; }
public void TestClientSetUp() { mocks = new MockRepository(); mockSocket = mocks.Stub <iSocket.iSocket>(); mockConnection = mocks.DynamicMock <Client.iConnection>(); client = new Client.Client(); client.connection = mockConnection; }