@Test
public void testWriteInt() throws IOException {

    writer.writeInt(0x11223344);
    writer.writeInt(-0x11223344);
    expectData(0x44, 0x33, 0x22, 0x11,
               0xBC, 0xCC, 0xDD, 0xEE);
}