pull/14914/head
Phillip Webb 6 years ago
parent 8ecb659a35
commit a12a6f2ade

@ -99,8 +99,8 @@ public class EndpointIdTests {
EndpointId five = EndpointId.of("barfoo1"); EndpointId five = EndpointId.of("barfoo1");
EndpointId six = EndpointId.of("foobar2"); EndpointId six = EndpointId.of("foobar2");
assertThat(one.hashCode()).isEqualTo(two.hashCode()); assertThat(one.hashCode()).isEqualTo(two.hashCode());
assertThat(one).isEqualTo(one).isEqualTo(two).isEqualTo(two).isEqualTo(three) assertThat(one).isEqualTo(one).isEqualTo(two).isEqualTo(three).isEqualTo(four)
.isEqualTo(four).isNotEqualTo(five).isNotEqualTo(six); .isNotEqualTo(five).isNotEqualTo(six);
} }
@Test @Test

Loading…
Cancel
Save