Youshido\Tests\Schema\ProcessorTest::testInit PHP Method

testInit() public method

public testInit ( )
    public function testInit()
    {
        $processor = new Processor(new TestEmptySchema());
        $this->assertEquals([['message' => 'Schema has to have fields']], $processor->getExecutionContext()->getErrorsArray());
    }