/** * Test the JImage::filter method with a bogus filer type so that we expect an exception. * * @return void * * @expectedException RuntimeException * @since 11.3 */ public function testFilterWithInvalidFilterType() { // Create a new JImageInspector object. $image = new JImageInspector(imagecreatetruecolor(10, 10)); $image->filter('foobar'); }