@Test
public void testIsValid() throws Exception {

  ValidationResult result = new ValidationResultImpl(true, "detail");
  Assert.assertTrue(result.isValid());
  result = new ValidationResultImpl(false, "detail");
  Assert.assertFalse(result.isValid());
}