Basho\Tests\TimeSeriesOperationsTest::testFetchTableDescription PHP Method

testFetchTableDescription() public method

    public function testFetchTableDescription()
    {
        $command = (new Command\Builder\TimeSeries\DescribeTable(static::$riak))->withTable(static::$table)->build();
        $this->assertInstanceOf('Basho\\Riak\\Command\\TimeSeries\\Query\\Fetch', $command);
        $response = $command->execute();
        $this->assertEquals('200', $response->getCode(), $response->getMessage());
        $this->assertNotEmpty($response->getResults());
        $this->assertCount(7, $response->getResults());
        $this->assertGreaterThanOrEqual(5, $response->getResult());
    }