@Test public void checkInputShouldAlwaysReturnTrue() throws Exception { final boolean actual = underTest.checkInput("foo"); assertThat(actual) .overridingErrorMessage("Expected value returned by checkInput is true, but was false") .isTrue(); }
@Override public boolean checkInput(@Nullable String prefix) { return true; }
ClassPrefixValidator implements InputValidatorEx { @Override public boolean checkInput(@Nullable String prefix) { return true; } }
ClassPrefixValidator implements InputValidatorEx { @Override public boolean checkInput(@Nullable String prefix) { return true; } @Inject  ClassPrefixValidator(@NotNull Json2JavaBundle bundle, @NotNull PsiNameHelper nameHelper); }
ClassPrefixValidator implements InputValidatorEx { @Override public boolean checkInput(@Nullable String prefix) { return true; } @Inject  ClassPrefixValidator(@NotNull Json2JavaBundle bundle, @NotNull PsiNameHelper nameHelper); @Nullable @Override String getErrorText(@Nullable String prefix); @Override boolean checkInput(@Nullable String prefix); @Override boolean canClose(@Nullable String prefix); }
ClassPrefixValidator implements InputValidatorEx { @Override public boolean checkInput(@Nullable String prefix) { return true; } @Inject  ClassPrefixValidator(@NotNull Json2JavaBundle bundle, @NotNull PsiNameHelper nameHelper); @Nullable @Override String getErrorText(@Nullable String prefix); @Override boolean checkInput(@Nullable String prefix); @Override boolean canClose(@Nullable String prefix);  }