/** * @dataProvider provideContentObjs */ public function testGetIntroduction(CollaborationHubContent $content, $id) { $expected = ["''Test'' content", '', '']; $actual = $content->getIntroduction(); $this->assertEquals($expected[$id], $actual, $id); }