@Test
    void relativeBaseDir() {
        String format = format(BIND_STRING_FMT, RELATIVE_PATH, CONTAINER_PATH);
        File baseDir = new File("relative/");
       Assertions.assertThrows(IllegalArgumentException.class, ()-> resolveRelativeVolumeBinding(baseDir, format));
    }
Insures the supplied base directory is absolute.
src/test/java/io/fabric8/maven/docker/util/VolumeBindingUtilTest.java