### Question:
BaggageSdk implements Baggage { @Override public boolean equals(Object o) { if (this == o) { return true; } if (o == null || !(o instanceof BaggageSdk)) { return false; } BaggageSdk distContextSdk = (BaggageSdk) o; if (!entries.equals(distContextSdk.entries)) { return false; } return parent != null ? parent.equals(distContextSdk.parent) : distContextSdk.parent == null; } private  BaggageSdk(Map<String, ? extends Entry> entries, Baggage parent); @Override Collection<Entry> getEntries(); @Nullable @Override String getEntryValue(String entryKey); @Override boolean equals(Object o); @Override int hashCode();  }### Answer:
@Test void testEquals() { new EqualsTester() .addEqualityGroup( contextManager.baggageBuilder().put(K1, V1, TMD).put(K2, V2, TMD).build(), contextManager.baggageBuilder().put(K1, V1, TMD).put(K2, V2, TMD).build(), contextManager.baggageBuilder().put(K2, V2, TMD).put(K1, V1, TMD).build()) .addEqualityGroup(contextManager.baggageBuilder().put(K1, V1, TMD).put(K2, V1, TMD).build()) .addEqualityGroup(contextManager.baggageBuilder().put(K1, V2, TMD).put(K2, V1, TMD).build()) .testEquals(); }