### Question:
ResourceUtils { public static String concat(String basePath, String path) { basePath = basePath.endsWith(pathSeparator()) ? basePath.substring(0, basePath.length() - 1) : basePath; path = path.startsWith(pathSeparator()) ? path.substring(1) : path; return basePath + pathSeparator() + path; } private  ResourceUtils(); static URL toResourceUrl(final Class<?> contextClass, final String path); static URL toResourceUrl(final String path); static Path toFilePath(final String path); static List<String> listDirectory(final String dirPath); static byte[] toByteArray(final String path); static InputStream getInputStream(final String path); static String concat(String basePath, String path);  }### Answer:
@Test(dataProvider = "concatTestDataProvider") public void testConcat(final String basePath, final String path, final String expectedResult) { final String result = ResourceUtils.concat(basePath, path); assertEquals(result, expectedResult); }