/** * Test isReplyInDB */ public function testIsReplyInDB() { $dao = new PostMySQLDAO(); $this->assertTrue($dao->isReplyInDB(138, 'twitter')); $this->assertTrue(!$dao->isReplyInDB(250, 'twitter')); }
/** * Test isReplyInDB */ function testIsReplyInDB() { $dao = new PostMySQLDAO(); $this->assertTrue($dao->isReplyInDB(138)); $this->assertTrue(!$dao->isReplyInDB(250)); }