def METHOD_NAME(mocker: MockerFixture):
    stubs_locator = mocker.MagicMock(StubSource, autospec=True)
    mocker.patch("micropy.app.stubs.stubs_source.StubSource", return_value=stubs_locator)
    return stubs_locator