MavenWorkspaceReader implements WorkspaceReader { public MavenModule getRootModule() { return rootModule; } MavenWorkspaceReader(WorkspaceFilesystem workspaceFilesystem, ModelProcessor modelProcessor, MavenWorkspaceListener listener);  MavenWorkspaceReader(WorkspaceFilesystem workspaceFilesystem, ModelProcessor modelProcessor); WorkspaceRepository getRepository(); File findArtifact(Artifact artifact); List<String> findVersions(Artifact artifact); MavenModule getRootModule(); List<MavenModule> getMavenModules();  }
@Test public void testGetRootModules() throws MavenWorkspaceReaderException { MavenWorkspaceReader workspaceReader = new MavenWorkspaceReader(workspaceFilesystem, mavenBooter.modelProcessor()); assertThat(workspaceReader.getRootModule(), IsMavenModule("com.sonatype.example", "projB", "1.0.0-SNAPSHOT")); }