assertEquals(0, m4.getOffset());
assertEquals(4, m4.getOffset());
    public void testCopyWithOffset() {        byte[] buf={'b', 'e', 'l', 'a', 'b', 'a', 'n'};        m1=new Message(null, null, buf, 0, 4);        m2=new Message(null, null, buf, 4, 3);        Message m3, m4;        m3=m1.copy();        m4=m2.copy();        assertEquals(0, m3.getOffset());        assertEquals(4, m3.getLength());        assertEquals(4, m3.getBuffer().length);        assertEquals(0, m4.getOffset());        assertEquals(3, m4.getLength());        assertEquals(3, m4.getBuffer().length);    }