LayoutConstraintsDescriptor implements Bean { public double getPrefHeight() { return prefHeight; } private  LayoutConstraintsDescriptor(double prefWidth, double prefHeight); static LayoutConstraintsDescriptor getLayoutConstraints(double prefWidth, double prefHeight); static LayoutConstraintsDescriptor prefWidth(double prefWidth); static LayoutConstraintsDescriptor prefHeight(double prefHeight); static LayoutConstraintsDescriptor flexible(); double getPrefWidth(); void setPrefWidth(double prefWidth); double getPrefHeight(); void setPrefHeight(double prefHeight); static boolean isFlexible(double size); static boolean isPreferred(double size); @Override void addPropertyChangeListener(String propertyName, PropertyChangeListener listener); @Override void removePropertyChangeListener(String propertyName, PropertyChangeListener listener); @Override String toString(); @Override int hashCode(); @Override boolean equals(Object obj); static final String PREF_WIDTH_PROPERTY_NAME; static final String PREF_HEIGHT_PROPERTY_NAME; static final double FLEXIBLE_PREF; }
@Test @Disabled public void testGetPrefHeight() { System.out.println("getPrefHeight"); LayoutConstraintsDescriptor instance = null; double expResult = 0.0; double result = instance.getPrefHeight(); assertEquals(expResult, result, 0.0); fail("The test case is a prototype."); }