@Test public void checkInputShouldAlwaysReturnTrue() throws Exception { final boolean actual = underTest.checkInput("test"); assertThat(actual) .overridingErrorMessage("Expected value returned by checkInput is true, but was false") .isTrue(); }
@Override public boolean checkInput(@Nullable String json) { return true; }
JsonValidator implements InputValidatorEx { @Override public boolean checkInput(@Nullable String json) { return true; } }
JsonValidator implements InputValidatorEx { @Override public boolean checkInput(@Nullable String json) { return true; } @Inject  JsonValidator(@Nonnull Json2JavaBundle bundle, @Nonnull JsonParser parser); }
JsonValidator implements InputValidatorEx { @Override public boolean checkInput(@Nullable String json) { return true; } @Inject  JsonValidator(@Nonnull Json2JavaBundle bundle, @Nonnull JsonParser parser); @Nullable @Override String getErrorText(@Nullable String json); @Override boolean checkInput(@Nullable String json); @Override @SuppressWarnings("SimplifiableIfStatement") boolean canClose(@Nullable String json); }
JsonValidator implements InputValidatorEx { @Override public boolean checkInput(@Nullable String json) { return true; } @Inject  JsonValidator(@Nonnull Json2JavaBundle bundle, @Nonnull JsonParser parser); @Nullable @Override String getErrorText(@Nullable String json); @Override boolean checkInput(@Nullable String json); @Override @SuppressWarnings("SimplifiableIfStatement") boolean canClose(@Nullable String json);  }