BinaryValidationResult { public static BinaryValidationResult valid() { return new BinaryValidationResult(null); } private  BinaryValidationResult(@Nullable final Throwable reasonForInvalidity); static BinaryValidationResult valid(); static BinaryValidationResult invalid(final Throwable reasonForInvalidity); boolean isValid(); @Nullable Throwable getReasonForInvalidity(); @Override boolean equals(final Object o); @Override int hashCode(); @Override String toString();  }
@Test public void valid() { final BinaryValidationResult underTest = BinaryValidationResult.valid(); assertThat(underTest.isValid()).isTrue(); }