final Path[] expectedPaths = { ROOT };
// Invoke and check
assertEquals(expectedPaths.length, pom.getPhysicalPaths().size());
for (final Path path : expectedPaths) {
final PhysicalPath modulePath = pom.getPhysicalPath(path);
assertEquals(new File(PROJECT_ROOT, path.getDefaultLocation()),
modulePath.getLocation());
assertEquals(path.isJavaSource(), modulePath.isSource());
final LogicalPath moduelPathId = modulePath.getLogicalPath();
assertEquals(path, moduelPathId.getPath());
assertEquals(ROOT_MODULE, moduelPathId.getModule());
}
}