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