Beberlei\Metrics\Tests\Collector\InfluxDBTest::testCollectMeasure PHP Method

testCollectMeasure() public method

public testCollectMeasure ( )
    public function testCollectMeasure()
    {
        $expectedArgs = array('points' => array(array('measurement' => 'series-name', 'fields' => array('value' => 47.11))), 'tags' => array());
        $this->client->expects($this->once())->method('mark')->with($expectedArgs);
        $this->collector->measure('series-name', 47.11);
        $this->collector->flush();
    }