DisallowedConstructorCheck extends AbstractMethodDetection { public void setClassName(String className) { this.className = className; }  void setClassName(String className); void setArgumentTypes(String argumentTypes); void setAllOverloads(boolean allOverloads);  }
@Test void empty_parameters() { DisallowedConstructorCheck disallowedConstructorCheck = new DisallowedConstructorCheck(); disallowedConstructorCheck.setClassName("A"); JavaCheckVerifier.newVerifier() .onFile("src/test/files/checks/DisallowedConstructorCheck/empty_parameters.java") .withCheck(disallowedConstructorCheck) .verifyIssues(); }