public function testStoreWithOutKey()
{
// build an object
$builder = new Command\Builder\UpdateHll(static::$riak);
$builder->add('foo');
$builder->add('bar');
$builder->add('baz');
$builder->buildBucket('some_bucket');
$command = $builder->build();
$this->assertInstanceOf('Basho\\Riak\\Command\\DataType\\Hll\\Store', $command);
$this->assertEquals('some_bucket', $command->getBucket()->getName());
$this->assertEquals(['add_all' => ['foo', 'bar', 'baz']], $command->getData());
$this->assertEquals(json_encode(['add_all' => ['foo', 'bar', 'baz']]), $command->getEncodedData());
}