@Override
    public void writeToParcel(Parcel out, int flags) {
        super.writeToParcel(out, flags);
    }
@Test
    public void testCanSerializeParcelable() {
        org.robolectric.shadows.ShadowLog.stream = System.err;
        BeaconManager.setDebug(true);
        final Beacon original = new AltBeacon.Builder().setMfgReserved(2)
                                                       .setBluetoothAddress("aa:bb:cc:dd:ee:ff")
                                                       .setBluetoothName("Any Bluetooth")
                                                       .setBeaconTypeCode(1)
                                                       .setExtraDataFields(Arrays.asList(4L, 5L))
                                                       .setId1("6")
                                                       .setId2("7")
                                                       .setId3("8")
                                                       .setManufacturer(10)
                                                       .setMultiFrameBeacon(true)
                                                       .setParserIdentifier("Any Parser ID")
                                                       .setRssi(-11)
                                                       .setRunningAverageRssi(-12.3)
                                                       .setServiceUuid(13)
                                                       .setTxPower(14)
                                                       .build();
        original.setPacketCount(15);
        original.setRssiMeasurementCount(16);

        aParcel = Parcel.obtain();
        original.writeToParcel(aParcel, 0);
        aParcel.setDataPosition(0);
        final AltBeacon parceled = AltBeacon.CREATOR.createFromParcel(aParcel);
        assertThat(
                parceled,
                allOf(
                        hasProperty("bluetoothAddress", equalTo("aa:bb:cc:dd:ee:ff")),
                        hasProperty("bluetoothName", equalTo("Any Bluetooth")),
                        hasProperty("beaconTypeCode", equalTo(1)),
                        hasProperty("dataFields", equalTo(Arrays.asList(2L))),
                        hasProperty("extraDataFields", equalTo(Arrays.asList(4L, 5L))),
                        hasProperty("id1", equalTo(Identifier.fromInt(6))),
                        hasProperty("id2", equalTo(Identifier.fromInt(7))),
                        hasProperty("id3", equalTo(Identifier.fromInt(8))),
                        hasProperty("manufacturer", equalTo(10)),
                        hasProperty("multiFrameBeacon", equalTo(true)),
                        hasProperty("parserIdentifier", equalTo("Any Parser ID")),
                        hasProperty("rssi", equalTo(-11)),
                        hasProperty("runningAverageRssi", equalTo(-12.3)),
                        hasProperty("serviceUuid", equalTo(13)),
                        hasProperty("txPower", equalTo(14)),
                        hasProperty("mfgReserved", equalTo(2)),
                        hasProperty("packetCount", equalTo(15)),
                        hasProperty("measurementCount", equalTo(16))
                )
        );
    }