Gc\Media\ImageTest::testResizeWithUndefinedOption PHP Method

testResizeWithUndefinedOption() public method

Test
    public function testResizeWithUndefinedOption()
    {
        $this->object->open($this->directory . 'test.png');
        $this->assertInstanceOf('Gc\\Media\\Image', $this->object->resize(50, 500, 'undefined option'));
        //double test for optimal size tests
        $this->assertInstanceOf('Gc\\Media\\Image', $this->object->resize(500, 50, 'undefined option'));
    }