/** * @covers \Tests\Testcase::getFixtureFileContent */ public function testGetFixtureFileContentThrowsExceptionOnNonExistingFile() { $test = new TestCase(); $filename = '/non-existing-file'; try { $test->getFixtureFileContent($filename); $this->fail('no exception thrown'); } catch (\Exception $e) { $this->assertEquals('Fixture ' . $filename . ' not found', $e->getMessage()); } }