METHOD_0 ( ) { org . apache . IDENT_0 . shell . impl . IDENT_1 . IDENT_2 IDENT_3 = new org . apache . IDENT_0 . shell . impl . IDENT_1 . METHOD_1 ( new org . apache . IDENT_4 . IDENT_5 . runtime . IDENT_6 . METHOD_2 ( ) ) ; org . apache . IDENT_0 . shell . impl . action . command . IDENT_7 manager = new org . apache . IDENT_0 . shell . impl . action . command . METHOD_3 ( IDENT_3 , IDENT_3 ) ; IDENT_3 . METHOD_4 ( ) . METHOD_5 ( new org . apache . IDENT_0 . shell . impl . action . command . METHOD_6 ( manager , org . apache . IDENT_0 . shell . impl . IDENT_1 . IDENT_8 . IDENT_9 . IDENT_10 . class ) ) ; IDENT_3 . METHOD_4 ( ) . METHOD_5 ( new org . apache . IDENT_0 . shell . impl . action . command . METHOD_6 ( manager , org . apache . IDENT_0 . shell . impl . IDENT_1 . IDENT_8 . IDENT_9 . IDENT_11 . class ) ) ; IDENT_3 . METHOD_4 ( ) . METHOD_5 ( new org . apache . IDENT_0 . shell . impl . IDENT_1 . IDENT_8 . IDENT_9 . METHOD_7 ( ) ) ; org . apache . IDENT_0 . shell . api . IDENT_1 . IDENT_12 session = new org . apache . IDENT_0 . shell . impl . IDENT_1 . METHOD_8 ( IDENT_3 , IDENT_3 . METHOD_9 ( ) , new java . io . ByteArrayInputStream ( new byte [ 0 ] ) , new java . io . METHOD_10 ( new java . io . ByteArrayOutputStream ( ) ) , new java . io . METHOD_10 ( new java . io . ByteArrayOutputStream ( ) ) ) ; java . lang . String IDENT_13 = org . apache . IDENT_0 . shell . impl . IDENT_1 . IDENT_8 . IDENT_14 . parse ( session , STRING_0 ) ; "<AssertPlaceHolder>" ; } parse ( org . apache . IDENT_0 . shell . api . IDENT_1 . IDENT_12 , java . lang . String ) { java . lang . StringBuilder IDENT_13 = new java . lang . StringBuilder ( ) ; int pos = 0 ; while ( pos < ( command . length ( ) ) ) { java . lang . String IDENT_15 = command . substring ( pos ) ; org . apache . IDENT_0 . shell . support . IDENT_8 . IDENT_16 IDENT_17 = new org . apache . IDENT_0 . shell . support . IDENT_8 . METHOD_11 ( IDENT_15 , IDENT_15 . length ( ) ) ; java . lang . String name = IDENT_17 . value ( ) ; name = session . METHOD_12 ( name ) ; org . apache . IDENT_0 . shell . api . IDENT_1 . IDENT_18 IDENT_19 = null ; for ( org . apache . IDENT_0 . shell . api . IDENT_1 . IDENT_20 IDENT_21 : session . METHOD_4 ( ) . METHOD_13 ( ) ) { if ( name . equals ( ( ( ( IDENT_21 . METHOD_14 ( ) ) + STRING_1 ) + ( IDENT_21 . getName ( ) ) ) ) ) { IDENT_19 = IDENT_21 . METHOD_15 ( ) ; break ; } } if ( IDENT_19 == null ) { IDENT_19 = new org . apache . IDENT_0 . shell . support . IDENT_8 . METHOD_16 ( ) ; } org . apache . IDENT_0 . shell . api . IDENT_1 . IDENT_22 IDENT_23 = IDENT_19 . parse ( session , IDENT_15 , IDENT_15 . length ( ) ) ; IDENT_13 . append ( IDENT_19 . METHOD_17 ( session , IDENT_23 ) ) ; int length = IDENT_23 . METHOD_18 ( ) . length ( ) ; if ( length < ( IDENT_15 . length ( ) ) ) { char ch = IDENT_15 . charAt ( length ) ; if ( ( ch == STRING_2 ) || ( ch == STRING_3 ) ) { IDENT_13 . append ( " " ) ; IDENT_13 . append ( ch ) ; IDENT_13 . append ( " " ) ; length ++ ; } else if ( ch == STRING_4 ) { IDENT_13 . append ( ch ) ; length ++ ; } else { throw new java . lang . IllegalArgumentException ( ( ( STRING_5 + ch ) + STRING_6 ) ) ; } } pos += length ; } return IDENT_13 . toString ( ) ; }
org . junit . Assert . assertEquals ( STRING_0 , IDENT_13 )