예제 #1
0
 public function testSetTitle()
 {
     $blog = new Blog();
     $blog->setTitle('Hello World');
     $this->assertEquals('hello-world', $blog->getSlug());
 }
 public function getSlug()
 {
     $this->__load();
     return parent::getSlug();
 }