public function testSetParent() { $c = new ae_CategoryModel(); $c->setParent(4); $this->assertTrue($c->getParent() === 4); $this->setExpectedException('Exception'); $c->setParent(-1); }
public function testSetParent() { $c = new ae_CategoryModel(); $c->setParent(4); $this->assertTrue($c->getParent() === 4); $this->setExpectedException('Exception'); $c->setParent(-1); }