NerdsAndCompany\Schematic\Services\SchematicTest::getMockAbstractService PHP Method

getMockAbstractService() public method

public getMockAbstractService ( ) : Base | PHPUnit_Framework_MockObject_MockObject
return Base | PHPUnit_Framework_MockObject_MockObject
    public function getMockAbstractService()
    {
        $mock = $this->getMockBuilder(Base::class)->getMock();
        $mock->expects($this->any())->method('import')->willReturn($this->getMockResultModel());
        $mock->expects($this->any())->method('export')->willReturn($this->getMockResultModel());
        return $mock;
    }