def METHOD_NAME(self):
    type_ = "_test-srvc-type._tcp.local."
    name = "xxxyyy"
    registration_name = f"{name}.{type_}"
    desc = {'path': '/~paulsm/'}
    info = ServiceInfo(
        type_, registration_name, 80, 0, 0, desc, "ash-2.local.", addresses=[socket.inet_aton("10.0.1.2")]
    )
    registry = r.ServiceRegistry()
    registry.async_add(info)
    assert registry.async_get_service_infos() == [info]
    assert registry.async_get_info_name(registration_name) == info
    assert registry.async_get_infos_type(type_) == [info]
    assert registry.async_get_infos_server("ash-2.local.") == [info]
    assert registry.async_get_types() == [type_]