'_ensure_share_mounted simple use case.'

def test_ensure_share_mounted(self):

    with mock.patch.object(self._driver, '_get_mount_point_for_share') as mock_get_mount_point:
        with mock.patch.object(self._driver, '_mount_quobyte') as mock_mount:
            drv = self._driver
            drv._ensure_share_mounted(self.TEST_QUOBYTE_VOLUME)
            mock_get_mount_point.assert_called_once_with(self.TEST_QUOBYTE_VOLUME)
            mock_mount.assert_called_once_with(self.TEST_QUOBYTE_VOLUME, mock_get_mount_point.return_value, ensure=True)
