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