/** * Test getTopic() * * @param KunenaForumTopicUser $topicuser * @depends testGetInstance */ public function testGetTopic(KunenaForumTopicUser $topicuser) { $topic = $topicuser->getTopic(); $this->assertTrue($topic->exists()); $this->assertEquals($topicuser->topic_id, $topic->id); }