Use new assertj 3.9.0 method

This commit is contained in:
Paul Campbell 2018-01-20 12:29:02 +00:00
parent 0424e93997
commit c545eed3f3

View file

@ -92,7 +92,7 @@ public class TypeAliasTest {
final String value = "value";
final AnAlias anAlias = AnAlias.of(value);
//then
assertThat(anAlias.hashCode()).isEqualTo(value.hashCode());
assertThat(anAlias).hasSameHashCodeAs(value);
}
@Test