MongolidLaravel\MongolidModel::getLocalMock PHP Method

getLocalMock() protected method

Get a local mock instance.
protected getLocalMock ( ) : Mock | Mockery\MockInterface
return Mockery\Mock | Mockery\MockInterface
    protected function getLocalMock()
    {
        if (!$this->hasLocalMock()) {
            $this->localMock = Mockery::mock();
        }
        return $this->localMock;
    }