'When the cluster configuration includes a container with an attached
volume, the endpoint returns the volume information in the container
data suppled in the response.'

def test_container_with_volume(self):

    manifestation = _manifestation()
    application = Application(name=u'postgres', image=DockerImage.from_string('postgres'), volume=AttachedVolume(manifestation=manifestation, mountpoint=FilePath('/var/lib/postgresql/9.4/data/base')))
    deployment = Deployment(nodes={Node(uuid=self.NODE_A_UUID, manifestations={manifestation.dataset_id: manifestation}, applications={application.name: application}), Node(uuid=self.NODE_B_UUID)})
    expected = [container_configuration_response(application, self.NODE_A)]
    return self._containers_test(deployment, expected)
