}
public void testUnregister()
throws Exception
{
PropertyEditorManagerService s = new PropertyEditorManagerService();
Class tc = Thread.class;
s.registerEditor(tc, de);
assertEquals(tc, s.getRegisteredEditors()[0]);
s.start();
s.destroy();
assertEquals(null, s.findEditor(tc));
assertEquals(null, PropertyEditorManager.findEditor(tc));
assertEquals(0, s.getRegisteredEditors().length);
}