private void verifyBuffer(CalledMethod method, String expectedValue, int expectedSize) {
		Object evt = method.getParameter(0);
		assertTrue("Class of evt should be ByteBuffer", evt instanceof ByteBuffer);
			
		ByteBuffer b = (ByteBuffer)evt;
		
		assertEquals("remaining incorrect", expectedSize, b.remaining());
		
		if (log.isLoggable(Level.FINEST)) {
			log.finest("10byteBuf pos="+b.position()+"  lim="+b.limit()+"  remain="+b.remaining());
		}		
		String s = helper.readString(b, expectedSize);

		log.info("s1="+s);
		log.info("s2="+expectedValue);
		assertEquals("Should have retrieved the string that we put", expectedValue, s);
		assertEquals("buffer should be all read", 0, b.remaining());
	}