@Test
public void shouldNotFailWithDependencyInReactory()
    throws EnforcerRuleException, ExpressionEvaluationException
{

    MavenProject mp1 = createProjectParent();
    MavenProject mp2 = createProjectChild1( mp1 );
    Dependency goodDependency = createDependency( "org.junit", "junit", "2.0" );
    List<Dependency> depListMP2 = Arrays.asList( goodDependency );
    when( mp2.getDependencies() ).thenReturn( depListMP2 );
    MavenProject mp3 = createProjectChild2( mp1 );
    Dependency dep1_MP3 = createDependency( "org.apache.commons", "commons-io", "1.0.4" );
    List<Dependency> depListMP3 = Arrays.asList( dep1_MP3 );
    when( mp3.getDependencies() ).thenReturn( depListMP3 );
    List<MavenProject> theList = Arrays.asList( mp1, mp2, mp3 );
    setupSortedProjects( theList );
    rule.execute( helper );
    // intentionally no assertTrue() cause we do not expect to get an exception.
    assertTrue( true );
}