/** * @param string $classCode * @param string $expectedResult * @test * @dataProvider stripOpeningPhpTagCorrectlyStripsPhpTagDataProvider */ public function stripOpeningPhpTagCorrectlyStripsPhpTagTests($classCode, $expectedResult) { $actualResult = $this->compiler->_call('stripOpeningPhpTag', $classCode); $this->assertSame($expectedResult, $actualResult); }