JoinfacesPlugin implements Plugin<Project> { @Override public void apply(Project project) { project.getPlugins().apply(ClasspathScanPlugin.class); project.getPlugins().withId("io.spring.dependency-management", plugin -> project.getPlugins().apply(BomPlugin.class) ); }  @Override void apply(Project project); static final String BOM_COORDINATES; }
@Test void apply() { this.project.getPlugins().apply(JoinfacesPlugin.class); }