void validateVolumeConfig(RunVolumeConfiguration toValidate) {
        final int expectedBindCnt = 4;
        final List<String> binds = toValidate.getBind();
        Assertions.assertEquals(expectedBindCnt, binds.size(), "Expected " + expectedBindCnt + " bind statements");

        Assertions.assertEquals(a("/foo", "/tmp:/tmp:rw", "namedvolume:/volume:ro"), binds.subList(0, expectedBindCnt - 1));

        // The docker-compose.yml used for testing contains a volume binding string that uses relative paths in the
        // host portion.  Insure that the relative portion has been resolved properly.
        String relativeBindString = binds.get(expectedBindCnt - 1);
        assertHostBindingExists(relativeBindString);
    }
Validates the {@link RunVolumeConfiguration} by asserting that:
<ul>
    <li>absolute host paths remain absolute</li>
    <li>access controls are preserved</li>
    <li>relative host paths are resolved to absolute paths correctly</li>
</ul>

@param toValidate the {@code RunVolumeConfiguration} being validated
src/test/java/io/fabric8/maven/docker/config/handler/compose/DockerComposeConfigHandlerTest.java