}
private DependencyGraph createDependencyGraph() {
final DependencyGraph graph = new DependencyGraph("Default");
final ValueProperties properties = ValueProperties.with(ValuePropertyNames.FUNCTION, "Mock").get();
final ComputationTarget t1 = new ComputationTarget(ComputationTargetType.PORTFOLIO_NODE, new SimplePortfolioNode(UniqueId.of("Node", "0"), "node"));
final DependencyNode n1 = new DependencyNode(t1.toSpecification());
n1.setFunction(new MockFunction("F1", t1));
n1.addOutputValue(new ValueSpecification("Foo", t1.toSpecification(), properties));
n1.addTerminalOutputValue(new ValueSpecification("Foo", t1.toSpecification(), properties));
graph.addDependencyNode(n1);