public function testSetThread()
 {
     // new entity
     $post = new Post();
     // dummy entity
     $thread = new Thread();
     $thread->setSubject("hehe");
     // Use the setThread method
     $post->setThread($thread);
     // Assert the result
     $this->assertEquals($thread, $post->getThread());
 }