def METHOD_NAME(self, collection):
    """Test if index values are tracked property."""
    collection.create_index(
        [("hello", Database.DESCENDING), ("idontexist", Database.ASCENDING)],
        unique=True,
    )
    collection.insert_many([{"hello": "here"}, {"hello": 2}])
    assert collection._indexes == {
        "_id_": (("_id",), {(1,), (2,), (3,)}),
        "hello_1_idontexist_1": (
            ("hello", "idontexist"),
            {("there", None), ("here", None), (2, None)},
        ),
    }
    assert collection.find({}, selection={"hello": 1, "idontexist": 1}) == [
        {"_id": 1, "hello": "there", "idontexist": None},
        {"_id": 2, "hello": "here", "idontexist": None},
        {"_id": 3, "hello": 2, "idontexist": None},
    ]