SmellChecksRegistrar implements CheckRegistrar { public static Iterable<Class<? extends JavaCheck>> checkClasses() { return checkClasses; }  @Override void register(final RegistrarContext registrarContext); static Iterable<Class<? extends JavaCheck>> checkClasses(); static Iterable<Class<? extends JavaCheck>> testCheckClasses();  }
@SuppressWarnings("unchecked") @Test public void checkClasses_should_return_expectedChecks() { Assertions.assertThat(SmellChecksRegistrar.checkClasses()) .containsExactly(AbbreviationsUsageSmellCheck.class, AntiPatternSmellCheck.class, BadDesignSmellCheck.class, BadFrameworkUsageSmellCheck.class, BadLoggingSmellCheck.class, HowCommentSmellCheck.class, IndecentExposureSmellCheck.class, MeaninglessCommentSmellCheck.class, MiddleManSmellCheck.class, MissingImplementationSmellCheck.class, MultipleResponsibilitiesSmellCheck.class, NonExceptionSmellCheck.class, OddballSolutionSmellCheck.class, OvercomplicatedAlgorithmSmellCheck.class, PrimitivesObsessionSmellCheck.class, RefusedBequestSmellCheck.class, ReinventedWheelSmellCheck.class, SolutionSprawlSmellCheck.class, SpeculativeGeneralitySmellCheck.class, UncommunicativeNameSmellCheck.class, UselessTestSmellCheck.class, WrongLanguageSmellCheck.class, WrongLogicSmellCheck.class, MissingDocumentationSmellCheck.class, MissingTestSmellCheck.class, OtherSmellCheck.class, NonComplianceWithStandardsSmellCheck.class); }