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

        // '/base/directory' and 'relative/path/' to '/base/directory/relative/path'
        Assertions.assertEquals(new File(absBaseDir + SEP + 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