'create_volume should return provider_location with found share.'

def test_create_volume_should_return_provider_location(self):

    drv = self._driver
    drv.LOG = mock.Mock()
    drv._ensure_shares_mounted = mock.Mock()
    drv._do_create_volume = mock.Mock()
    drv._find_share = mock.Mock(return_value=self.TEST_QUOBYTE_VOLUME)
    volume = self._simple_volume(size=self.TEST_SIZE_IN_GB)
    result = drv.create_volume(volume)
    self.assertEqual(self.TEST_QUOBYTE_VOLUME, result['provider_location'])
    drv._do_create_volume.assert_called_once_with(volume)
    drv._ensure_shares_mounted.assert_called_once_with()
    drv._find_share.assert_called_once_with(volume)
