SurefireExtensions { @SuppressWarnings("rawtypes") public static List getExtensions() { return ImmutableList.of( PropertyDefinition.builder(SurefireUtils.SUREFIRE_REPORT_PATHS_PROPERTY) .name("JUnit Report Paths") .description("Comma-separated paths to the various directories containing the *.xml JUnit report files. " + "Each path may be absolute or relative to the project base directory.") .onQualifiers(Qualifiers.PROJECT) .multiValues(true) .category(JavaConstants.JAVA_CATEGORY) .subCategory("JUnit") .build(), SurefireSensor.class, SurefireJavaParser.class); } private  SurefireExtensions(); @SuppressWarnings("rawtypes") static List getExtensions();  }
@Test void shouldGetExtensions() { assertThat(SurefireExtensions.getExtensions().size()).isEqualTo(3); }