question: public void runTest ( ) throws Throwable { Document doc ; Element root ; NodeList elementList ; Node firstChild ; NodeList textList ; CharacterData textNode ; String data ; doc = ( Document ) load ( "staff" , false ) ; root = doc . getDocumentElement ( ) ; root . normalize ( ) ; elementList = root . getElementsByTagName ( "name" ) ; firstChild = elementList . item ( 2 ) ; textList = firstChild . getChildNodes ( ) ; textNode = ( CharacterData ) textList . item ( 0 ) ; data = textNode . getData ( ) ; assertEquals ( "data" , "Roger\n Jones" , data ) ; }
target:  Runs the test case.