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