public function testIncrement() { $operator = new Operator(); $operator->increment('key', 1); $operator->increment('key', 41); $this->assertEquals(array('$inc' => array('key' => 42)), $operator->getAll()); }