@Test
public void parseLong_LittleEndianTest() {

    BluetoothBytesParser parser;
    parser = new BluetoothBytesParser(new byte[]{1,0,0,0,0,0,0,0}, LITTLE_ENDIAN);
    assertEquals(1L, parser.getLongValue());
    parser = new BluetoothBytesParser(new byte[]{1,1,0,0,0,0,0,0}, LITTLE_ENDIAN);
    assertEquals(257L, parser.getLongValue());
    parser = new BluetoothBytesParser(new byte[]{1,1,1,1,1,1,1,1}, LITTLE_ENDIAN);
    assertEquals(72340172838076673L, parser.getLongValue());
    parser = new BluetoothBytesParser(new byte[]{8,7,6,5,4,3,2,1}, LITTLE_ENDIAN);
    assertEquals(72623859790382856L, parser.getLongValue());
}