'Test create_volume_from_snapshot.'

@mock.patch.object(utils, 'brick_get_connector_properties')
@mock.patch.object(vol_utils, 'copy_volume')
def test_create_volume_from_snapshot(self, mock_copy_volume, mock_brick_get):

    mock_brick_get.return_value = CONNECTOR
    mock_copy_volume.return_value = None
    self.driver._kaminario_disconnect_volume = mock.Mock()
    result = self.driver.create_volume_from_snapshot(self.vol, self.snap)
    self.assertIsNone(result)
