public function testSetNumComments() { $p = new ae_PostModel(); $p->setNumComments('4037'); $this->assertTrue($p->getNumComments() === 4037); $this->setExpectedException('Exception'); $p->setNumComments(-4); }