### Question:
VCSReader extends BrainReader { @Override public List<Format> getFormats() { return Collections.singletonList(VCSFormat.getInstance()); } VCSReader(); @Override List<Format> getFormats();  }### Answer:
@Test public void interconnectedFilesAreReadCorrectly() throws IOException { VCSReader reader = new VCSReader(); List<Format> formats = reader.getFormats(); assertEquals(1, formats.size()); assertEquals("VCS", formats.get(0).getName()); assertEquals(0, countAtoms()); BrainReader.Context context = new BrainReader.Context(); context.setFormat(formats.get(0)); context.setSourceDirectory(createTestDirectory()); context.setTopicGraph(topicGraph); reader.doImport(context); assertEquals(2, countAtoms()); Atom arthur = topicGraph.getAtomById(ARTHUR_ID).get(); assertEquals(ARTHUR_ID, arthur.getId()); assertEquals("Arthur Dent", arthur.getTitle()); assertEquals(DefaultSources.UNIVERSAL, arthur.getSource()); assertEquals(1, countChildren(arthur)); assertEquals("Ford Prefect (character)", arthur.getChildren().getFirst().getTitle()); }