ScriptFUSIONTest\Unit\Porter\Mapper\Strategy\SubImportTest::testInvalidSpecificationCallback PHP Method

testInvalidSpecificationCallback() public method

    public function testInvalidSpecificationCallback()
    {
        $this->setExpectedException(InvalidCallbackResultException::class);
        $this->createSubImport(function () {
            // Intentionally empty.
        });
        $this->import();
    }