pull/14914/head
Phillip Webb 6 years ago
parent ef655ce949
commit cd1c2638e5

@ -47,7 +47,7 @@ public class EndpointIdTests {
}
@Test
public void ofWhenContainsInvalidCharThrowsException() {
public void ofWhenContainsSlashThrowsException() {
this.thrown.expect(IllegalArgumentException.class);
this.thrown.expectMessage("Value must only contain valid chars");
EndpointId.of("foo/bar");

Loading…
Cancel
Save