def METHOD_NAME():
    path = parse("a.b[?(@.c=='c')].d")
    assert jsonpath_parts(path) == [
        parse("a"),
        parse("b"),
        Filter(expressions=[Expression(Child(This(), Fields("c")), "==", "c")]),
        parse("d"),
    ]