function testPaid() { $x = new Consultation(1); $this->assertTrue($x->paid()); $x = new Consultation(2); $this->assertFalse($x->paid()); }