/** * Assumes default image type is PNG for this test to work - more on this later! * */ function testAutoBasicFunctions() { $gdImage = new GDImage('auto'); $this->assertEquals('png', $gdImage->getImageExtension()); print_r($gdImage->getErrors()); }