This commit is contained in:
Phillip Webb 2018-10-15 15:41:55 -07:00
parent ef655ce949
commit cd1c2638e5
1 changed files with 1 additions and 1 deletions

View File

@ -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");