Exemplo n.º 1
0
 /**
  * @covers ::updateInverse
  */
 public function testUpdateInverse()
 {
     $user = new User();
     $post = new Post();
     $user->getPosts()->add($post);
     $this->assertSame($user, $post->getUser());
 }