Basho\Tests\HllOperationsTest::testAddWithoutKey PHP Method

testAddWithoutKey() public method

public testAddWithoutKey ( )
    public function testAddWithoutKey()
    {
        // build an object
        $command = (new Command\Builder\UpdateHll(static::$riak))->add('gosabres poked you.')->add('phprocks viewed your profile.')->add('phprocks started following you.')->buildBucket('default', static::HLL_BUCKET_TYPE)->build();
        $response = $command->execute();
        // expects 201 - Created
        $this->assertEquals('201', $response->getCode());
        $this->assertNotEmpty($response->getLocation());
    }