### Question:
FileUtils { public static String getPath(final Class<?> loadingClass, final String relativeFilename) { Validate.notNull(loadingClass, "Loading class required"); Validate.notBlank(relativeFilename, "Filename required"); Validate.isTrue(!relativeFilename.startsWith("/"), "Filename shouldn't start with a slash"); return "/" + loadingClass.getPackage().getName().replace('.', '/') + "/" + relativeFilename; } private  FileUtils(); static String backOneDirectory(String fileIdentifier); static boolean copyRecursively(final File source, final File destination,
      final boolean deleteDestinationOnExit); static String ensureTrailingSeparator(final String path); static String getCanonicalPath(final File file); static String getFileSeparatorAsRegex(); static String getFirstDirectory(String fileIdentifier); static InputStream getInputStream(final Class<?> loadingClass, final String filename); static String getPath(final Class<?> loadingClass, final String relativeFilename); static String getSystemDependentPath(final Collection<String> pathElements); static String getSystemDependentPath(final String... pathElements); static boolean matchesAntPath(final String antPattern, final String canonicalPath); static final String CURRENT_DIRECTORY; }### Answer:
@Test public void testGetPath() { assertEquals("/org/springframework/roo/support/util/loader/sub/file-utils-test.txt", FileUtils.getPath(Loader.class, "sub/file-utils-test.txt")); }