@Test
public void parseLong_BigEndianTest() {

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