* Domain.Validator accepts valid syslog entry.
* @throws Exception If something goes wrong
*/
@Test
public void acceptsValidSyslog() throws Exception {
final ConstraintValidatorContext ctx =
Mockito.mock(ConstraintValidatorContext.class);
final Domain domain = new DomainMocker()
.withSyslog("sys-log.s3auth.com:514").mock();
MatcherAssert.assertThat(
new Domain.Validator().isValid(domain, ctx), Matchers.is(true)