@Test
public void testReduceRowCount() {

  FxUtils.runOnFxThread(() -> layout.setNumRows(2));
  waitForFxEvents();
  assertEquals(6, getPlaceholderCount(), "Removing a row should reduce the number of placeholders from 9 to 6");
}