JBZoo\PHPUnit\TextTest::testTextAll PHP Method

testTextAll() public method

public testTextAll ( )
    public function testTextAll()
    {
        $excepted = Helper::getExpected(__FUNCTION__ . '.jpg');
        $actual = Helper::getActual(__FUNCTION__ . '.jpg');
        $original = Helper::getOrig('butterfly.jpg');
        $font = Helper::getOrig('font.ttf');
        $img = new Image($original);
        $img->addFilter('text', 'Nice Butterfly', $font, array('stroke-color' => array('#f00', '#ff7f00', '#ff0', '#0f0', '#0ff', '#f0f'), 'color' => array('#0ff', '#f0f', '#0f0', '#ff0', '#ff7f00', '#f00'), 'stroke-spacing' => 5, 'font-size' => 48, 'stroke-size' => 5, 'offset-x' => -140, 'offset-y' => 100, 'position' => 't', 'angle' => -10))->saveAs($actual);
        Helper::isFileEq($actual, $excepted);
    }