### Question:
StompletConfParser { public List<RouteConfiguration> parse() throws IOException { List<RouteConfiguration> configs = new ArrayList<RouteConfiguration>(); String line = null; while ((line = readLine( true )) != null) { RouteConfiguration config = null; Matcher matcher = ROUTE_PATTERN.matcher( line ); if (matcher.matches()) { String pattern = matcher.group( 1 ); String className = matcher.group( 2 ); config = new RouteConfiguration( pattern, className ); configs.add( config ); INNER: while ((line = readLine( false )) != null) { if ( "".equals(line) ) { break INNER; } String[] values = line.split( ":" ); config.getProperties().put( values[0], values[1] ); } } else { continue; } } return configs; } StompletConfParser(InputStream in); List<RouteConfiguration> parse();  }### Answer:
@Test public void testParse() throws Exception { List<RouteConfiguration> result = parse( "valid-stomplet.conf" ); assertNotNull( result ); assertFalse( result.isEmpty() ); }