/** * @dataProvider provideContentObjs */ public function testContent(CollaborationHubContent $content, $id) { $expected = [[["title" => "Me!", "image" => "cool.png", "displayTitle" => null]], [], []]; $actual = $content->getContent(); $this->assertEquals($expected[$id], $actual, $id); }