super(testName);
}
public void testExample1() throws Exception {
Document document = runScript( "src/test/org/apache/commons/jelly/jsl/example.jelly" );
Element small = (Element) document.selectSingleNode("/html/body/small");
assertTrue( "<small> starts with 'James Elson'", small.getText().startsWith("James Elson") );
assertEquals( "I am a title!", small.valueOf( "h2" ).trim() );
assertEquals( "Twas a dark, rainy night...", small.valueOf( "small" ).trim() );
assertEquals( "dfjsdfjsdf", small.valueOf( "p" ).trim() );