ScriptFUSIONTest\Integration\Porter\PorterTest::setUp PHP Method

setUp() protected method

protected setUp ( )
    protected function setUp()
    {
        $this->porter = (new Porter())->registerProvider($this->provider = \Mockery::mock(Provider::class)->shouldReceive('fetch')->andReturnUsing(function () {
            (yield 'foo');
        })->byDefault()->getMock());
        $this->resource = MockFactory::mockResource($this->provider);
        $this->specification = new ImportSpecification($this->resource);
    }