def METHOD_NAME(self, monkeypatch, stubs):
    """Patch the cmdutils module to provide fake commands."""
    monkeypatch.setattr(objects, 'commands', {
        'one': stubs.FakeCommand(name='one'),
        'two': stubs.FakeCommand(name='two'),
        'two-foo': stubs.FakeCommand(name='two-foo'),
    })