/** * @test * @group pmc */ public function testIncrement() { $object = new DataObject(['total' => 1, 'success' => 1]); $object->incrementSuccess()->incrementTotal(3); $this->assertEquals(['total' => 4, 'success' => 2], $object->toArray()); }