def METHOD_NAME(self, mocker):
    mocker.patch.object(InterestRegistry, '__init__', return_value=None)
    mocker.patch.object(InterestRegistry, 'get', return_value=list())
    with patch.object(ServiceRegistry._logger, 'info') as log_info1:
        reg_id = ServiceRegistry.register("A name", "Storage", "127.0.0.1", 1234, 4321, 'http')
        assert 1 == len(ServiceRegistry._registry)
    assert 1 == log_info1.call_count
    arg, kwarg = log_info1.call_args
    assert arg[0].startswith('Registered service instance id=')
    assert arg[0].endswith(': <A name, type=Storage, protocol=http, address=127.0.0.1, service port=1234,'
                           ' management port=4321, status=1>')
    with patch.object(ServiceRegistry._logger, 'info') as log_info2:
        s_id = ServiceRegistry.unregister(reg_id)
        assert 36 == len(s_id)  # uuid version 4 len
        assert 1 == len(ServiceRegistry._registry)
        s = ServiceRegistry.get(idx=s_id)
        assert s[0]._status == 2
    assert 1 == log_info2.call_count
    args, kwargs = log_info2.call_args
    assert args[0].startswith('Stopped service instance id=')
    assert args[0].endswith(': <A name, type=Storage, protocol=http, address=127.0.0.1, service port=1234,'
                            ' management port=4321, status=2>')