void () { runPythonTest(new PyDataFrameDebuggerTask(getRelativeTestDataPath(), "test_dataframe_multiindex.py", ImmutableSet.of(5, 10)) { @Override public void testing() throws Exception { doTest("frame1", 4, 2, arrayChunk -> assertSameElements(arrayChunk.getRowLabels(), "s/2", "s/3", "d/2", "d/3")); doTest("frame2", 4, 4, arrayChunk -> { List<ArrayChunk.ColHeader> headers = arrayChunk.getColHeaders(); assertSameElements(headers.stream().map(ArrayChunk.ColHeader::getLabel).toArray(), "1/1", "1/B", "2/1", "2/B"); }); } }); }