### Question:
Beacon implements Parcelable, Serializable { public void setRssi(int rssi) { mRssi = rssi; } @Deprecated protected  Beacon(Parcel in); protected  Beacon(Beacon otherBeacon); protected  Beacon(); static void setDistanceCalculator(DistanceCalculator dc); static DistanceCalculator getDistanceCalculator(); static void setHardwareEqualityEnforced(boolean e); static boolean getHardwareEqualityEnforced(); void setRssiMeasurementCount(int rssiMeasurementCount); int getPacketCount(); void setPacketCount(int packetCount); long getFirstCycleDetectionTimestamp(); void setFirstCycleDetectionTimestamp(long firstCycleDetectionTimestamp); long getLastCycleDetectionTimestamp(); void setLastCycleDetectionTimestamp(long lastCycleDetectionTimestamp); int getMeasurementCount(); void setRunningAverageRssi(double rssi); @Deprecated double getRunningAverageRssi(double rssi); double getRunningAverageRssi(); void setRssi(int rssi); int getManufacturer(); int getServiceUuid(); Identifier getIdentifier(int i); Identifier getId1(); Identifier getId2(); Identifier getId3(); List<Long> getDataFields(); List<Long> getExtraDataFields(); void setExtraDataFields(List<Long> fields); List<Identifier> getIdentifiers(); double getDistance(); int getRssi(); int getTxPower(); int getBeaconTypeCode(); String getBluetoothAddress(); String getBluetoothName(); String getParserIdentifier(); boolean isMultiFrameBeacon(); @Override int hashCode(); @Override boolean equals(Object that); void requestData(BeaconDataNotifier notifier); @Override String toString(); @Deprecated int describeContents(); @Deprecated void writeToParcel(Parcel out, int flags); boolean isExtraBeaconData(); @Deprecated
    static final Parcelable.Creator<Beacon> CREATOR; }### Answer:
@Test public void testBeaconsWithSameIdentifersAreEqual() { Beacon beacon1 = new AltBeacon.Builder().setMfgReserved(7).setId1("1").setId2("2").setId3("3").setRssi(4) .setBeaconTypeCode(5).setTxPower(6) .setBluetoothAddress("1:2:3:4:5:6").build(); Beacon beacon2 = new AltBeacon.Builder().setMfgReserved(7).setId1("1").setId2("2").setId3("3").setRssi(4) .setBeaconTypeCode(5).setTxPower(6) .setBluetoothAddress("1:2:3:4:5:6").build(); assertEquals("Beacons with same identifiers are equal", beacon1, beacon2); }