Commit a12a6f2a authored by Phillip Webb's avatar Phillip Webb

Polish

parent 8ecb659a
...@@ -99,8 +99,8 @@ public class EndpointIdTests { ...@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment