def METHOD_NAME(self, mocker: MockerFixture) -> None:
    # This is kind of a dumb short-cut test, but if we believe that
    # object_to_dataclass works as advertised, then this test ensures that
    # it is being used for all the sub-configs that it should be used for
    spy = mocker.spy(m, "object_to_dataclass")
    c = m.Config(["legate"])
    assert spy.call_count == 4
    spy.assert_has_calls(
        [
            call(c._args, m.Kernel),
            call(c._args, MultiNode),
            call(c._args, Core),
            call(c._args, Memory),
        ]
    )