@Test
    void testResolveRelativeVolumePathWithAccessSpecifications() {
        String volumeString = format(BIND_STRING_WITH_ACCESS_FMT, RELATIVE_PATH, CONTAINER_PATH, RO_ACCESS);

        // './rel:/path/to/container/dir:ro' to '/absolute/basedir/rel:/path/to/container/dir:ro'
        String relativizedVolumeString = resolveRelativeVolumeBinding(ABS_BASEDIR, volumeString);

        String expectedBindingString = format(BIND_STRING_WITH_ACCESS_FMT,
                new File(ABS_BASEDIR, stripLeadingPeriod(RELATIVE_PATH)), CONTAINER_PATH, RO_ACCESS);
        Assertions.assertEquals(expectedBindingString, relativizedVolumeString);
    }
Insures that a host volume binding string that contains a path relative to the current working directory <em>and
</em> specifies access controls resolves to the supplied base directory <em>and</em> that the access controls are
preserved through the operation.
src/test/java/io/fabric8/maven/docker/util/VolumeBindingUtilTest.java