@Test
    void resolveAbsolutelyWithTrailingSlashWithRelativePath() {
        String toResolve = RELATIVE_PATH;        // relative/path
        String absBaseDir = ABS_BASE_DIR + SEP;  // /base/directory/

        // '/base/directory/' and 'relative/path' to '/base/directory/relative/path'
        Assertions.assertEquals(new File(absBaseDir + toResolve),
            DockerPathUtil.resolveAbsolutely(toResolve, absBaseDir));
    }
A sample relative path (no different than {@link #RELATIVE_PATH}), provided as the member name is
self-documenting in the test.
src/test/java/io/fabric8/maven/docker/util/DockerPathUtilTest.java