Example #1
0
 /**
  * Test isPostByPublicInstance
  */
 function testIsPostByPublicInstance()
 {
     $dao = new PostMySQLDAO();
     //post by ev (public instance)
     $this->assertTrue($dao->isPostByPublicInstance(140));
     //post by notapublicinstance
     $this->assertTrue(!$dao->isPostByPublicInstance(143));
 }