Elgg\Upgrade\LocatorTest::setUp PHP Method

setUp() public method

public setUp ( )
    public function setUp()
    {
        $this->setupMockServices();
        $this->plugin = $this->getMockBuilder(\ElggPlugin::class)->disableOriginalConstructor()->setMethods(['getStaticConfig', 'getID'])->getMock();
        $this->plugin->expects($this->any())->method('getID')->will($this->returnValue('test_plugin'));
    }