question: public void testMissionNameConstruction ( ) { String xml = "" ; xml += createStartMissionXml ( "" , "Name" ) ; xml += createEndMissionXml ( ) ; InputStream missionInputStream = new ByteArrayInputStream ( xml . getBytes ( ) ) ; String missionName = null ; try { missionName = MissionParser . getMissionName ( missionInputStream ) ; } catch ( MissionParseException e ) { e . printStackTrace ( ) ; } Assert . assertEquals ( "Name" , missionName ) ; }
target:  Test for correct reading of a mission name.