/** Verifies that the toString method has been overridden. */
 public void testCanvasWrapper_toString() {
   DummyCanvasWrapper fw = new DummyCanvasWrapper();
   assertEquals(UNOVERRIDED_TOSTRING_ERROR, DisplayableVisitor.toString(fw), fw.toString());
 }
 /** 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());
 }
 /** Verifies that the toString method has been overridden. */
 public void testListWrapper_toStringNoSelection() {
   int type = List.IMPLICIT;
   ListWrapper fw = new ListWrapper(title, type);
   assertEquals(UNOVERRIDED_TOSTRING_ERROR, DisplayableVisitor.toString(fw), fw.toString());
 }
 /** Verifies that the toString method has been overridden. */
 public void testGameCanvasWrapper_toString() {
   GameCanvasWrapper fw = new GameCanvasWrapper(false);
   assertEquals(UNOVERRIDED_TOSTRING_ERROR, DisplayableVisitor.toString(fw), fw.toString());
 }
 /** Verifies that the toString method has been overridden. */
 public void testFormWrapper_toString() {
   FormWrapper fw = new FormWrapper(title);
   assertEquals(UNOVERRIDED_TOSTRING_ERROR, DisplayableVisitor.toString(fw), fw.toString());
 }
 /** Verifies that the toString method has been overridden. */
 public void testAlertWrapper_toString() {
   AlertWrapper aw = new AlertWrapper(title);
   assertEquals(UNOVERRIDED_TOSTRING_ERROR, DisplayableVisitor.toString(aw), aw.toString());
 }