@Test
public void testReadUE7() throws Exception {

    byte[] data;
    
    data = new byte[] { 0x08 };
    assertEquals((long)8, EndianUtils.readUE7(new ByteArrayInputStream(data)));
    
    data = new byte[] { (byte)0x84, 0x1e };
    assertEquals((long)542, EndianUtils.readUE7(new ByteArrayInputStream(data)));
    
    data = new byte[] { (byte)0xac, (byte)0xbe, 0x17 };
    assertEquals((long)728855, EndianUtils.readUE7(new ByteArrayInputStream(data)));
}