ScanGraph graph = ScanGraph.create();
TestablePerspectiveLoader loader = new TestablePerspectiveLoader();
TestableBuilder builder = new TestableBuilder(graph, loader);
ComponentVertex file = graph.addComponent(MockSourceFile.createMain("org.foo.Bar"));
MutableTestable testable = builder.create(file);
assertThat(testable).isNotNull();
assertThat(testable.component()).isSameAs(file);
assertThat(builder.getPerspectiveLoader().load(file)).isSameAs(testable);
}