Use hasMessageThat().isEqualTo(expected) instead. You may also consider
using inexact matching of the message (e.g. hasMessageThat().contains(substring))
for less brittle tests.
A Builder can never compare equal to a MessageLite instance. Use build(),
or buildPartial() on the argument to get a MessageLite for comparison instead.
AtomicLongMap does not define equality (i.e., it does not implement
equals()), so you probably don't want to call this method. Instead, perform your assertion
on the map view (e.g., assertThat(atomicLongMap.asMap()).isEqualTo(EXPECTED_MAP)).
A Builder will never compare equal to a MessageLite instance. Use build(),
or buildPartial() on the argument to get a MessageLite for comparison instead.
AtomicLongMap does not define equality (i.e., it does not implement
equals()), so you probably don't want to call this method. Instead, perform your assertion
on the map view (e.g., assertThat(atomicLongMap.asMap()).isNotEqualTo(UNEXPECTED_MAP)).