DependenciesFilter { protected Predicate<ArtifactCoordinates> hasType(String type) { return dep -> StringUtils.equals(type, dep.getType()); } DependenciesFilter();  DependenciesFilter(String classifier, String scope); Set<ArtifactCoordinates> filter(ProjectDependencyNode node);  }
@Test public void hasTypeTrueTest() { assertThat("Predicate should return true", filter.hasType(TYPE_A).test(artifactCoordinates_a), equalTo(true)); }