1 17 18 package org.apache.geronimo.common.propertyeditor; 19 20 import java.util.Collection ; 21 import java.util.HashSet ; 22 23 28 public class HashSetEditorTest extends AbstractCollectionEditorTest { 29 30 protected void setUp() { 31 editor = PropertyEditors.findEditor(HashSet .class); 32 ordered = false; 33 } 34 35 public void testEditorClass() throws Exception { 36 assertEquals(HashSetEditor.class, editor.getClass()); 37 } 38 39 protected void checkType(Object output) { 40 assertTrue("editor returned a: " + output.getClass(), output instanceof HashSet ); 41 } 42 43 protected Collection createCollection() { 44 return new HashSet (); 45 } 46 } 47 | Popular Tags |