@Test
  public void testComputeChildPrefAreaWidthHonorsMinWidthOverMax() {
    Pane pane = new Pane(); // Region extension which makes children sequence public

    MockRegion child = new MockRegion(10, 20, 200, 300, 500, 500);
    child.setMinWidth(600); // max less than pref
    pane.getChildren().add(child);

    assertEquals(600, pane.computeChildPrefAreaWidth(child, Insets.EMPTY), 1e-100);
  }