/home/techb158/dev.balacoffee.com/vendor/gumlet/php-image-resize/test
Edit: /home/techb158/dev.balacoffee.com/vendor/gumlet/php-image-resize/test/ImageResizeExceptionTest.php (1203B)
assertEquals("", $e->getMessage());
$this->assertInstanceOf('\Gumlet\ImageResizeException', $e);
}
public function testExceptionMessage()
{
$e = new ImageResizeException("General error");
$this->assertEquals("General error", $e->getMessage());
$this->assertInstanceOf('\Gumlet\ImageResizeException', $e);
}
public function testExceptionExtending()
{
$e = new ImageResizeException("General error");
$this->assertInstanceOf('\Exception', $e);
}
public function testExceptionThrown()
{
try{
throw new ImageResizeException("General error");
} catch (\Exception $e) {
$this->assertEquals("General error", $e->getMessage());
$this->assertInstanceOf('\Gumlet\ImageResizeException', $e);
return;
}
$this->fail();
}
}
// It's pretty easy to get your attention these days, isn't it? :D