@Test
    void testResolveUserVolumePath() {
        String volumeString = format(BIND_STRING_FMT, USER_PATH, CONTAINER_PATH);

        // '~/rel:/path/to/container/dir' to '/user/home/rel:/path/to/container/dir'
        String relativizedVolumeString = resolveRelativeVolumeBinding(new File("ignored"), volumeString);

        String expectedBindingString = format(BIND_STRING_FMT,
                new File(System.getProperty("user.home"), PathTestUtil.stripLeadingTilde(USER_PATH)), CONTAINER_PATH);
        Assertions.assertEquals(expectedBindingString, relativizedVolumeString);
    }
Insures that a host volume binding string that contains a path relative to the user's home directory resolves to
the user's home directory and not the supplied base directory.
src/test/java/io/fabric8/maven/docker/util/VolumeBindingUtilTest.java