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