@Test
public void passesIfNoDependencyProblemsFound() throws Exception {

    final ProjectDependencyAnalysis analysis =
        Mockito.mock(ProjectDependencyAnalysis.class);
    final ProjectDependencyAnalyzer analyzer = this.analyzer(analysis);
    final MavenEnvironment env = new MavenEnvironmentMocker().inPlexus(
        DependenciesValidatorTest.ROLE,
        DependenciesValidatorTest.HINT,
        analyzer
    ).mock();
    new DependenciesValidator().validate(env);
}