@Test public void testGetDetail() throws Exception { ValidationResult result = new ValidationResultImpl(true, "detail"); Assert.assertEquals("detail", result.getDetail()); }
@Override public String getDetail() { return detail; }
ValidationResultImpl implements ValidationResult { @Override public String getDetail() { return detail; } }
ValidationResultImpl implements ValidationResult { @Override public String getDetail() { return detail; } ValidationResultImpl(boolean valid, String detail); }
ValidationResultImpl implements ValidationResult { @Override public String getDetail() { return detail; } ValidationResultImpl(boolean valid, String detail); @Override boolean isValid(); @Override String getDetail(); static ValidationResult create(ValidationResult result); }
ValidationResultImpl implements ValidationResult { @Override public String getDetail() { return detail; } ValidationResultImpl(boolean valid, String detail); @Override boolean isValid(); @Override String getDetail(); static ValidationResult create(ValidationResult result);  }