Basho\Tests\BucketOperationsTest::setUpBeforeClass PHP Method

setUpBeforeClass() public static method

public static setUpBeforeClass ( )
    public static function setUpBeforeClass()
    {
        parent::setUpBeforeClass();
        try {
            $command = (new Command\Builder\FetchBucketProperties(static::$riak))->buildBucket('test', static::HLL_BUCKET_TYPE)->build();
            $response = $command->execute();
            if ($response->isSuccess() && $response->getCode() == 200) {
                static::$hll_present = true;
            }
        } catch (\Exception $ex) {
            static::$hll_present = false;
        }
    }