/** Test to very that the wrapped constructor properly invokes the wrapped methods. */
 public void testTextBoxWrapper_constructors() {
   TextBoxWrapper tw = new TextBoxWrapper(title, "text", 50, TextField.PASSWORD);
   assertEquals("Form Title", title, tw.getTitle());
   assertEquals("Form Text", text, tw.getString());
   assertEquals("Form Size", 50, tw.getMaxSize());
   assertEquals("Form Constraint", TextField.PASSWORD, tw.getConstraints());
 }
 /** Verifies that the toString method has been overridden. */
 public void testTextBoxWrapper_toString() {
   TextBoxWrapper fw = new TextBoxWrapper(title, text, 50, TextField.PASSWORD);
   assertEquals(UNOVERRIDED_TOSTRING_ERROR, DisplayableVisitor.toString(fw), fw.toString());
 }