|
|
@ -29,7 +29,7 @@ import static org.assertj.core.api.Assertions.assertThatIllegalArgumentException
|
|
|
|
public class EndpointIdTests {
|
|
|
|
public class EndpointIdTests {
|
|
|
|
|
|
|
|
|
|
|
|
@Test
|
|
|
|
@Test
|
|
|
|
public void ofWhenNullThorowsException() {
|
|
|
|
public void ofWhenNullThrowsException() {
|
|
|
|
assertThatIllegalArgumentException().isThrownBy(() -> EndpointId.of(null))
|
|
|
|
assertThatIllegalArgumentException().isThrownBy(() -> EndpointId.of(null))
|
|
|
|
.withMessage("Value must not be empty");
|
|
|
|
.withMessage("Value must not be empty");
|
|
|
|
}
|
|
|
|
}
|
|
|
|