public void testLoad() throws Exception {
String transformPackage = "org.jostraca.transform.";
SimpleObjectManager som = new SimpleObjectManager( TextualTransform.class, transformPackage );
String classes;
classes = "JavaStringEscapeTransform";
som.loadClasses( classes );
assertEquals( (TextualTransform.class.getName()+": "+transformPackage+classes), som.toString() );
// and again - should be the same
som.loadClasses( classes );
assertEquals( (TextualTransform.class.getName()+": "+transformPackage+classes), som.toString() );
classes = "org.jostraca.transform.JavaStringEscapeTransform";
som.loadClasses( classes );
assertTrue( (TextualTransform.class.getName()+": "+classes).equals( som.toString() ) );
classes = "JavaStringEscapeTransform, HTMLEscapeTransform";
som.loadClasses( classes );
assertTrue( (TextualTransform.class.getName()+": "+(transformPackage+"JavaStringEscapeTransform"
+", "+transformPackage+"HTMLEscapeTransform"))
.equals( som.toString() ) );
classes = Standard.EMPTY;
som.loadClasses( classes );
assertEquals( (TextualTransform.class.getName()+": "+Standard.EMPTY), som.toString() );
}