### Question:
SwingMenu extends AbstractSwingContainer implements XulMenu { public boolean isDisabled() { return !menu.isEnabled(); } SwingMenu( Element self, XulComponent parent, XulDomContainer domContainer, String tagName ); void layout(); String getAcceltext(); String getAccesskey(); boolean isDisabled(); String getLabel(); void setAcceltext( String accel ); void setAccesskey( String accessKey ); void setDisabled( boolean disabled ); void setLabel( String label ); void resetContainer();  }### Answer:
@Test public void testMenuItemDisabled() throws Exception { XulMenuitem item = (XulMenuitem) doc.getElementById( "paseMenuItem" ); assertTrue( item.isDisabled() ); }