| Conditions | 1 |
| Paths | 1 |
| Total Lines | 15 |
| Code Lines | 9 |
| Lines | 0 |
| Ratio | 0 % |
| 1 | <?php |
||
| 13 | public function testLoad() |
||
| 14 | { |
||
| 15 | $loader = new InterlaceFilterLoader(); |
||
| 16 | |||
| 17 | $image = $this->getMockImage(); |
||
| 18 | $image |
||
| 19 | ->expects($this->once()) |
||
| 20 | ->method('interlace') |
||
| 21 | ->with('TEST') |
||
| 22 | ; |
||
| 23 | |||
| 24 | $result = $loader->load($image, array('mode' => 'TEST')); |
||
| 25 | |||
| 26 | $this->assertInstanceOf('Imagine\Image\ImageInterface', $result); |
||
| 27 | } |
||
| 28 | } |
||
| 29 |