@Test
public void should_create_perspective() {
ScanGraph graph = ScanGraph.create();
TestPlanPerspectiveLoader loader = new TestPlanPerspectiveLoader();
TestPlanBuilder builder = new TestPlanBuilder(graph, loader);
ComponentVertex file = graph.addComponent(MockSourceFile.createMain("org.foo.Bar"));
MutableTestPlan plan = builder.create(file);
assertThat(plan).isNotNull();
assertThat(plan.component()).isSameAs(file);
assertThat(builder.getPerspectiveLoader().load(file)).isSameAs(plan);