* Test of readResponse method, of class HTTPRawSampler.
*/
@Test
public void testReadResponse() throws Exception {
System.out.println("readResponse");
SocketChannelEmul sock = new SocketChannelEmul();
sock.setBytesToRead(ByteBuffer.wrap("test".getBytes()));
SampleResult res = new SampleResult();
res.sampleStart();
byte[] expResult = "test".getBytes();
byte[] result = instance.readResponse(sock, res);
assertEquals(expResult.length, result.length);