Basho\Tests\BucketOperationsTest::testFetch PHP Method

testFetch() public method

public testFetch ( )
    public function testFetch()
    {
        $command = (new Command\Builder\FetchBucketProperties(static::$riak))->buildBucket('test')->build();
        $response = $command->execute();
        $this->assertEquals('200', $response->getCode());
        $bucket = $response->getBucket();
        $this->assertNotEmpty($bucket->getProperties());
        $this->assertFalse($bucket->getProperty('allow_mult'));
    }