'Successful Snapshot creation test'

@ddt.data(0, 1, 2)
def test_create_snapshot(self, group_count):

    fake_eseries_volume = copy.deepcopy(eseries_fake.VOLUME)
    self.library._get_volume = mock.Mock(return_value=fake_eseries_volume)
    fake_pool = copy.deepcopy(eseries_fake.STORAGE_POOL)
    self.library._get_storage_pools = mock.Mock(return_value=[fake_pool])
    fake_cinder_snapshot = copy.deepcopy(eseries_fake.FAKE_CINDER_SNAPSHOT)
    fake_snapshot_group_list = eseries_fake.list_snapshot_groups(group_count)
    fake_snapshot_group = copy.deepcopy(eseries_fake.SNAPSHOT_GROUP)
    fake_snapshot_image = copy.deepcopy(eseries_fake.SNAPSHOT_IMAGE)
    self.library._client.create_snapshot_group = mock.Mock(return_value=fake_snapshot_group)
    self.library._client.list_snapshot_groups = mock.Mock(return_value=fake_snapshot_group_list)
    self.library._client.create_snapshot_image = mock.Mock(return_value=fake_snapshot_image)
    self.library.create_snapshot(fake_cinder_snapshot)
