public function testProviderInvalidInputFile() { $this->setExpectedException('RuntimeException', 'Input file "/some-unreadable-file" not found'); $provider = new Provider(); $provider->setConfig(array('input' => 'some-unreadable-file'))->get(); }