def test_supports_volume_mounts(self):
    self.broker.bind.return_value = Binding(volume_mounts=[VolumeMount(driver='', container_dir='', mode='', device_type='', device=SharedDevice(volume_id='', mount_config=dict(config1='1')))])
    response = self.client.put('/v2/service_instances/here-instance_id/service_bindings/here-binding_id', data=json.dumps({'service_id': 'service-guid-here', 'plan_id': 'plan-guid-here', 'bind_resource': {'app_guid': 'app-guid-here'}}), headers={'X-Broker-Api-Version': '2.13', 'Content-Type': 'application/json', 'Authorization': self.auth_header})
    self.assertEqual(response.status_code, http.HTTPStatus.CREATED)
    self.assertEqual(response.json, dict(volume_mounts=[dict(driver='', container_dir='', mode='', device_type='', device=dict(volume_id='', mount_config=dict(config1='1')))]))
def test_supports_volume_mounts(self):
    self.broker.bind.return_value = Binding(volume_mounts=[VolumeMount(driver=, container_dir=, mode=, device_type=, device=SharedDevice(volume_id=, mount_config=dict(config1='1')))])
    response = self.client.put('/v2/service_instances/here-instance_id/service_bindings/here-binding_id', data=json.dumps({'service_id': 'service-guid-here', 'plan_id': 'plan-guid-here', 'bind_resource': {'app_guid': 'app-guid-here'}}), headers={'X-Broker-Api-Version': '2.13', 'Content-Type': 'application/json', 'Authorization': self.auth_header})
    self.assertEqual(response.status_code, http.HTTPStatus.CREATED)
    self.assertEqual(response.json, dict(volume_mounts=[dict(driver=, container_dir=, mode=, device_type=, device=dict(volume_id=, mount_config=dict(config1='1')))]))