Example #1
0
 public function testRelationsSettersAndGetters()
 {
     $article = new Article();
     $category = new Category();
     $article->setCategory($category);
     $this->assertSame($category, $article->getCategory());
 }