예제 #1
0
 public function testPublic()
 {
     $this->assertFalse($this->comment->isPublic());
     $this->assertEquals($this->comment, $this->comment->setPublic(true));
     $this->assertTrue($this->comment->isPublic());
 }