void (@NotNull TreeModelEvent event, @NotNull EventType type) { assertEquals("unexpected tree path", path, event.getTreePath()); //noinspection SSBasedInspection SwingUtilities.invokeLater(ModelTest.this::done); }