public function testCollectDecrement() { $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->decrement('series-name'); $this->collector->flush(); }
public function testCollectDecrement() { $this->client->expects($this->once())->method('mark')->with('series-name', array('value' => -1)); $this->collector->decrement('series-name'); $this->collector->flush(); }