|
|
@ -33,7 +33,7 @@ public class EndpointIdTests {
|
|
|
|
public ExpectedException thrown = ExpectedException.none();
|
|
|
|
public ExpectedException thrown = ExpectedException.none();
|
|
|
|
|
|
|
|
|
|
|
|
@Test
|
|
|
|
@Test
|
|
|
|
public void ofWhenNullThorowsException() {
|
|
|
|
public void ofWhenNullThrowsException() {
|
|
|
|
this.thrown.expect(IllegalArgumentException.class);
|
|
|
|
this.thrown.expect(IllegalArgumentException.class);
|
|
|
|
this.thrown.expectMessage("Value must not be empty");
|
|
|
|
this.thrown.expectMessage("Value must not be empty");
|
|
|
|
EndpointId.of(null);
|
|
|
|
EndpointId.of(null);
|
|
|
|