def METHOD_NAME():
    module = mock.MagicMock()
    module.PyKCS11Error = MockPyKCS11Error
    module.CK_SLOT_INFO.side_effect = lambda: mock.MagicMock()
    for name in MOCK_CONSTANTS:
        setattr(module, name, object())
    return module