|
|
@ -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
|
|
|
|