@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 suffix) { return true; }
ClassSuffixValidator implements InputValidatorEx { @Override public boolean checkInput(@Nullable String suffix) { return true; } }
ClassSuffixValidator implements InputValidatorEx { @Override public boolean checkInput(@Nullable String suffix) { return true; } @Inject  ClassSuffixValidator(@NotNull Json2JavaBundle bundle, @NotNull PsiNameHelper nameHelper); }
ClassSuffixValidator implements InputValidatorEx { @Override public boolean checkInput(@Nullable String suffix) { return true; } @Inject  ClassSuffixValidator(@NotNull Json2JavaBundle bundle, @NotNull PsiNameHelper nameHelper); @Nullable @Override String getErrorText(@Nullable String suffix); @Override boolean checkInput(@Nullable String suffix); @Override boolean canClose(@Nullable String suffix); }
ClassSuffixValidator implements InputValidatorEx { @Override public boolean checkInput(@Nullable String suffix) { return true; } @Inject  ClassSuffixValidator(@NotNull Json2JavaBundle bundle, @NotNull PsiNameHelper nameHelper); @Nullable @Override String getErrorText(@Nullable String suffix); @Override boolean checkInput(@Nullable String suffix); @Override boolean canClose(@Nullable String suffix);  }