@Test
    void testResolveVolumeBindingsWithRunVolumeConfiguration() {
        RunVolumeConfiguration.Builder builder = new RunVolumeConfiguration.Builder();
        builder.bind(singletonList(format(BIND_STRING_FMT, RELATIVE_PATH, CONTAINER_PATH)));
        RunVolumeConfiguration volumeConfiguration = builder.build();


        // './rel:/path/to/container/dir' to '/absolute/basedir/rel:/path/to/container/dir'
        resolveRelativeVolumeBindings(ABS_BASEDIR, volumeConfiguration);

        String expectedBindingString = format(BIND_STRING_FMT,
                join("", ABS_BASEDIR.getAbsolutePath(),
                        stripLeadingPeriod(RELATIVE_PATH)), CONTAINER_PATH);
        Assertions.assertEquals(expectedBindingString, volumeConfiguration.getBind().get(0));
    }
Insures that relative paths in the host portion of a volume binding string are properly resolved against a base
directory when present in a {@link RunVolumeConfiguration}.
src/test/java/io/fabric8/maven/docker/util/VolumeBindingUtilTest.java