@Test
public void getSignedInt() {

    assertEquals(          0, AkServerUtil.getInt(byteArray(0x00, 0x00, 0x00, 0x00), 0));
    assertEquals(          1, AkServerUtil.getInt(byteArray(0x01, 0x00, 0x00, 0x00), 0));
    assertEquals( 2147483647, AkServerUtil.getInt(byteArray(0xFF, 0xFF, 0xFF, 0x7F), 0));
    assertEquals(-2147483648, AkServerUtil.getInt(byteArray(0x00, 0x00, 0x00, 0x80), 0));
    assertEquals(         -2, AkServerUtil.getInt(byteArray(0xFE, 0xFF, 0xFF, 0xFF), 0));
    assertEquals(         -1, AkServerUtil.getInt(byteArray(0xFF, 0xFF, 0xFF, 0xFF), 0));
}