Conditions | 1 |
Paths | 1 |
Total Lines | 8 |
Code Lines | 5 |
Lines | 0 |
Ratio | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 1 |
1 | <?php |
||
22 | public function testWhenUrlNotKnown_requestsCauseException() { |
||
23 | $fetcher = new InMemoryFileFetcher( array( |
||
24 | 'http://something.else/entirely' => 'kittens' |
||
25 | ) ); |
||
26 | |||
27 | $this->setExpectedException( 'FileFetcher\FileFetchingException' ); |
||
28 | $fetcher->fetchFile( 'http://foo.bar/baz' ); |
||
29 | } |
||
30 | |||
41 |