@Test
    void testIsUserRelativeHomeDir() {
        Assertions.assertFalse(isUserHomeRelativePath(join(TILDE, "foo", "bar")));         // foo~bar
        Assertions.assertFalse(isUserHomeRelativePath("foo" + TILDE));                 // foo~
        Assertions.assertFalse(isUserHomeRelativePath("foo"));                         // foo
        Assertions.assertTrue(isUserHomeRelativePath(TILDE + "user"));                 // ~user
        Assertions.assertTrue(isUserHomeRelativePath(join(SEP, TILDE, "dir")));            // ~/dir
        Assertions.assertTrue(isUserHomeRelativePath(join(SEP, TILDE + "user", "dir")));   // ~user/dir
    }
The volume binding string: {@code src/test/docker:/path/to/container/mountpoint} is resolved, because {@code src/
test/docker} is considered a <em>relative path</em>.
src/test/java/io/fabric8/maven/docker/util/VolumeBindingUtilTest.java