Commit cd1c2638 authored by Phillip Webb's avatar Phillip Webb

Polish

parent ef655ce9
......@@ -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");
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment