ptRunner = $runner; $this->ptFileName = $fileName; $this->ptFileInfo = TestFileReader::read( $this->ptFileName ); foreach ( $this->ptFileInfo['tests'] as $test ) { $this->addTest( new ParserIntegrationTest( $runner, $fileName, $test ), [ 'Database', 'Parser', 'ParserTests' ] ); } } function setUp() { $this->ptRunner->addArticles( $this->ptFileInfo[ 'articles'] ); } }