}
public void test() throws Exception {
tester.assertComponent( "form", Form.class );
FormTester ft = tester.newFormTester( "form");
assertEquals( "-180", ft.getTextComponentValue( "panel:minX") );
assertEquals( "-90", ft.getTextComponentValue( "panel:minY") );
assertEquals( "180", ft.getTextComponentValue( "panel:maxX") );
assertEquals( "90", ft.getTextComponentValue( "panel:maxY") );
EnvelopePanel ep = (EnvelopePanel) tester.getComponentFromLastRenderedPage("form:panel");
assertEquals( e, ep.getModelObject() );
ft.setValue( "panel:minX", "-2");
ft.setValue( "panel:minY", "-2");
ft.setValue( "panel:maxX", "2");
ft.setValue( "panel:maxY", "2");
ft.submit();
assertEquals( new Envelope(-2,2,-2,2), ep.getModelObject() );
}