### Question:
MavenPathResolvingStrategy extends AbstractPathResolvingStrategy { @Override protected Collection<LogicalPath> getPaths(final boolean sourceOnly) { final Collection<LogicalPath> pathIds = new ArrayList<LogicalPath>(); for (final Pom pom : pomManagementService.getPoms()) { for (final PhysicalPath modulePath : pom.getPhysicalPaths()) { if (!sourceOnly || modulePath.isSource()) { pathIds.add(modulePath.getLogicalPath()); } } } return pathIds; }  String getCanonicalPath(final LogicalPath path, final JavaType javaType); String getCanonicalPath(final String moduleName, final Path path, final JavaType javaType); String getFocusedCanonicalPath(final Path path, final JavaType javaType); String getFocusedIdentifier(final Path path, final String relativePath); LogicalPath getFocusedPath(final Path path); String getFocusedRoot(final Path path); String getIdentifier(final LogicalPath logicalPath, final String relativePath); String getIdentifier(final String moduleName, final Path path, final String relativePath); LogicalPath getPath(final String moduleName, final Path path); String getRoot(final LogicalPath modulePathId); boolean isActive();  }### Answer:
@Test public void testGetAllPaths() { setUpModulePaths(); final Object modulePathIds = strategy.getPaths(); assertEquals(Arrays.asList(mockSourcePath, mockNonSourcePath), modulePathIds); }