atk4\data\tests\IteratorTest::testException1 PHP Method

testException1() public method

If first argument is array, then second argument should not be used.
public testException1 ( )
    public function testException1()
    {
        $m = new Model();
        $m->addFields(['name', 'salary']);
        $m->setOrder(['name', 'salary'], 'desc');
    }