'``/VolumeDriver.Path`` returns the mount path of the given volume if
it is currently known.'

def test_path(self):

    name = u'myvol'
    d = self.create(name)
    d.addCallback((lambda _: self.flocker_client.synchronize_state()))
    d.addCallback((lambda _: self.assertResponseCode('POST', '/VolumeDriver.Mount', {u'Name': name}, OK)))
    d.addCallback((lambda _: self.flocker_client.list_datasets_configuration()))
    d.addCallback((lambda datasets_config: self.assertResult('POST', '/VolumeDriver.Path', {u'Name': name}, OK, {u'Err': u'', u'Mountpoint': u'/flocker/{}'.format(datasets_config.datasets.keys()[0])})))
    return d
