public List<Pdu> getPdus() {
        return mPdus;
    }
@Test
    public void testCanParsePdusFromAltBeacon() {
        org.robolectric.shadows.ShadowLog.stream = System.err;
        byte[] bytes = hexStringToByteArray("02011a1aff1801beac2f234454cf6d4a0fadf2f4911ba9ffa600010002c50900000000000000000000000000000000000000000000000000000000000000");
        BleAdvertisement bleAdvert = new BleAdvertisement(bytes);
        assertEquals("An AltBeacon advert should have two PDUs", 3, bleAdvert.getPdus().size());
    }