public void TestASocketSetUp() { sock = new iSocket.aSocket(); caesura = new byte[7]; caesura[0] = (byte)'C'; caesura[1] = (byte)'a'; caesura[2] = (byte)'e'; caesura[3] = (byte)'s'; caesura[4] = (byte)'u'; caesura[5] = (byte)'r'; caesura[6] = (byte)'a'; }
public void TestASocketTearDown() { sock = null; caesura = null; }
public void TestASocketSendException() { iSocket.aSocket sock = new iSocket.aSocket(); sock.send(null); }
public void TestASocketRecieveException() { iSocket.aSocket sock = new iSocket.aSocket(); Assert.IsNull(sock.receive(5)); }