def METHOD_NAME(self) -> None:
    midx = pd.MultiIndex.from_product([["a", "b"], [1, 2]], names=("one", "two"))
    coords = Coordinates.from_pandas_multiindex(midx, "x")
    assert isinstance(coords.xindexes["x"], PandasMultiIndex)
    assert coords.xindexes["x"].index.equals(midx)
    assert coords.xindexes["x"].dim == "x"
    expected = PandasMultiIndex(midx, "x").create_variables()
    assert list(coords.variables) == list(expected)
    for name in ("x", "one", "two"):
        assert_identical(expected[name], coords.variables[name])