/** * @param string $string * @param array $expectedInlineStructure * @param array $expectedInlineNames * @dataProvider structureStringIsParsedDataProvider * @test */ public function structureStringIsParsed($string, array $expectedInlineStructure, array $expectedInlineNames) { $this->fixture->parseStructureString($string, FALSE); $this->assertEquals('pageId', $this->fixture->inlineFirstPid); $this->assertEquals($expectedInlineStructure, $this->fixture->inlineStructure); $this->assertEquals($expectedInlineNames, $this->fixture->inlineNames); }