public function testGdConstructor() { $this->assertInstanceOf('Pop\\Image\\Gd', new Gd('graph.gif', 640, 480)); $this->assertInstanceOf('Pop\\Image\\Gd', new Gd('graph.jpg', 640, 480)); }