question: public static void assertLabel ( String name , String text ) { if ( verbose ) { log ( "assertLabel(" + name + ", " + text + ")" ) ; } Label l = ( Label ) findByName ( name ) ; assertBool ( l != null , "Null label" + text ) ; assertBool ( text == l . getText ( ) || text . equals ( l . getText ( ) ) , name + " != " + text ) ; }
target:  Asserts that we have a label with the given text baring the given name