### Question:
LogicalPath { @Override public final String toString() { return getName(); } private  LogicalPath(final String module, final Path path); static LogicalPath getInstance(final Path path, final String module); static LogicalPath getInstance(final String modulePlusPath); int compareTo(final LogicalPath o); @Override boolean equals(final Object obj); String getModule(); String getName(); Path getPath(); String getPathRelativeToPom(final Pom pom); @Override int hashCode(); boolean isModuleRoot(); boolean isProjectRoot(); @Override final String toString(); static final String MODULE_PATH_SEPARATOR; static final String PATH_SEPARATOR; }### Answer:
@Test public void testGetInstanceWithBlankModuleName() { assertGetInstance(" ", "", PATH.toString()); }
@Test public void testGetInstanceWithEmptyModuleName() { assertGetInstance("", "", PATH.toString()); }
@Test public void testGetInstanceWithNonBlankModuleName() { assertGetInstance(MODULE_NAME, MODULE_NAME, MODULE_NAME + MODULE_PATH_SEPARATOR + PATH.toString()); }
@Test public void testGetInstanceWithNullModuleName() { assertGetInstance(null, "", PATH.toString()); }