Gc\Media\ImageTest::testOpen PHP Method

testOpen() public method

Test
public testOpen ( ) : void
return void
    public function testOpen()
    {
        $this->assertInstanceOf('Gc\\Media\\Image', $this->object->open($this->directory . 'test.png'));
        $this->assertInstanceOf('Gc\\Media\\Image', $this->object->open($this->directory . 'test.jpg'));
        $this->assertInstanceOf('Gc\\Media\\Image', $this->object->open($this->directory . 'test.gif'));
        $this->assertInstanceOf('Gc\\Media\\Image', $this->object->open($this->directory . 'test.bmp'));
    }