async def METHOD_NAME():
    m = mapping.AsyncMapping()
    m.field("n1", "nested", properties={"n2": Nested(properties={"k1": Keyword()})})
    m.field("k2", "keyword")
    nested, field = m.resolve_nested("n1.n2.k1")
    assert nested == ["n1", "n1.n2"]
    assert isinstance(field, Keyword)
    nested, field = m.resolve_nested("k2")
    assert nested == []
    assert isinstance(field, Keyword)