### Question:
SwingCheckbox extends SwingElement implements XulCheckbox { public String getCommand() { return oncommand; } SwingCheckbox( Element self, XulComponent parent, XulDomContainer domContainer, String tagName ); boolean getSelected(); void setSelected( boolean selected ); void layout(); void setLabel( String label ); String getLabel(); boolean isChecked(); boolean isDisabled(); void setChecked( boolean checked ); void setDisabled( boolean dis ); void setCommand( final String method ); String getCommand();  }### Answer:
@Test public final void testCommand() { assertEquals( "foo.test()", check.getCommand() ); }