def METHOD_NAME(self):
    logger_mock = MockLogger()
    with patch('oasislmf.utils.log.logging.getLogger', Mock(return_value=logger_mock)):
        class FakeObj(object):
            @oasis_log
            def method(self, first, second=None):
                pass
        FakeObj().method('a', second='b')
        logger_mock.debug.assert_any_call("    first == a")
        logger_mock.debug.assert_any_call("    second == b")
        for args in logger_mock.debug.call_args_list:
            if 'self' in args[0][0]:
                self.fail('"self" was logged')