@Test
public void testContainerVolumes() throws Exception {

	Configuration config = new Configuration();
	config.setString(MesosTaskManagerParameters.MESOS_RM_CONTAINER_VOLUMES, "/host/path:/container/path:ro");
	MesosTaskManagerParameters params = MesosTaskManagerParameters.create(config);
	assertEquals(1, params.containerVolumes().size());
	assertEquals("/container/path", params.containerVolumes().get(0).getContainerPath());
	assertEquals("/host/path", params.containerVolumes().get(0).getHostPath());
	assertEquals(Protos.Volume.Mode.RO, params.containerVolumes().get(0).getMode());
}