Polish
This commit is contained in:
parent
ef655ce949
commit
cd1c2638e5
|
@ -47,7 +47,7 @@ public class EndpointIdTests {
|
||||||
}
|
}
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
public void ofWhenContainsInvalidCharThrowsException() {
|
public void ofWhenContainsSlashThrowsException() {
|
||||||
this.thrown.expect(IllegalArgumentException.class);
|
this.thrown.expect(IllegalArgumentException.class);
|
||||||
this.thrown.expectMessage("Value must only contain valid chars");
|
this.thrown.expectMessage("Value must only contain valid chars");
|
||||||
EndpointId.of("foo/bar");
|
EndpointId.of("foo/bar");
|
||||||
|
|
Loading…
Reference in New Issue