コード例 #1
0
 public function getAuthorsUsername() : string
 {
     return $this->author->getUsername();
 }
コード例 #2
0
 public function testGetSetUsername()
 {
     $this->author->setUsername('test');
     $this->assertEquals('test', $this->author->getUsername());
 }