public function testCanBeNegated() { $a = new myClass(); $a->increase(9)->increase(8); $b = $a->negate(); $this->assertEquals(0, $b->myParam); }