/** * @dataProvider filenamesProvider * * @param string $filename * @param string $expected */ public function testTransformFilenameShouldAppendVirtualScheme($filename, $expected) { $transformed = $this->context->transformFilenames($filename); assertThat('The transformed filename does not match what was expected.', $expected, is(identicalTo($transformed))); }
public function testPrintFileContentsShouldThrowIfFileDoesNotExist() { $this->setExpectedException('Hamcrest\\AssertionError'); $this->context->printFileContents($this->scheme . '/foo'); }