artifacts.addAll( directArtifacts );
project.setArtifacts( artifacts );
project.setDependencyArtifacts( directArtifacts );
mojo.execute();
DependencyNode rootNode = mojo.getDependencyGraph();
assertNodeEquals( "testGroupId:project:jar:1.0:compile", rootNode );
assertEquals( 2, rootNode.getChildren().size() );
assertChildNodeEquals( "testGroupId:snapshot:jar:2.0-SNAPSHOT:compile", rootNode, 0 );