METHOD_0 ( ) { java . util . List < org . glassfish . IDENT_0 . IDENT_1 . IDENT_2 > IDENT_3 = new java . util . ArrayList < org . glassfish . IDENT_0 . IDENT_1 . IDENT_2 > ( ) ; IDENT_3 . add ( new org . glassfish . IDENT_0 . IDENT_1 . IDENT_4 . METHOD_1 ( org . glassfish . IDENT_0 . IDENT_1 . IDENT_4 . IDENT_5 ) ) ; IDENT_3 . add ( new org . glassfish . IDENT_0 . IDENT_1 . IDENT_4 . METHOD_1 ( ( ( ( org . glassfish . IDENT_0 . IDENT_1 . IDENT_4 . IDENT_5 ) + ( IDENT_6 . IDENT_7 ) ) + STRING_0 ) ) ) ; IDENT_3 . add ( new org . glassfish . IDENT_0 . IDENT_1 . IDENT_4 . METHOD_1 ( ( ( ( org . glassfish . IDENT_0 . IDENT_1 . IDENT_4 . IDENT_5 ) + ( IDENT_6 . IDENT_7 ) ) + STRING_1 ) ) ) ; IDENT_3 . add ( new org . glassfish . IDENT_0 . IDENT_1 . IDENT_4 . METHOD_1 ( ( ( org . glassfish . IDENT_0 . IDENT_1 . IDENT_4 . IDENT_5 ) + STRING_2 ) ) ) ; IDENT_3 . add ( new org . glassfish . IDENT_0 . IDENT_1 . IDENT_4 . METHOD_1 ( ( ( org . glassfish . IDENT_0 . IDENT_1 . IDENT_4 . IDENT_5 ) + STRING_3 ) ) ) ; IDENT_3 . add ( new org . glassfish . IDENT_0 . IDENT_1 . IDENT_4 . METHOD_1 ( ( ( org . glassfish . IDENT_0 . IDENT_1 . IDENT_4 . IDENT_5 ) + STRING_4 ) ) ) ; IDENT_3 . add ( new org . glassfish . IDENT_0 . IDENT_1 . IDENT_4 . METHOD_1 ( ( ( org . glassfish . IDENT_0 . IDENT_1 . IDENT_4 . IDENT_5 ) + STRING_5 ) ) ) ; IDENT_3 . add ( new org . glassfish . IDENT_0 . IDENT_1 . IDENT_4 . METHOD_1 ( ( ( org . glassfish . IDENT_0 . IDENT_1 . IDENT_4 . IDENT_5 ) + ( org . glassfish . IDENT_0 . IDENT_1 . IDENT_4 . IDENT_5 ) ) ) ) ; java . util . List < java . lang . String > expResult = new java . util . ArrayList < java . lang . String > ( ) ; expResult . add ( org . glassfish . IDENT_0 . IDENT_1 . IDENT_4 . IDENT_5 ) ; expResult . add ( ( ( ( org . glassfish . IDENT_0 . IDENT_1 . IDENT_4 . IDENT_5 ) + ( IDENT_6 . IDENT_7 ) ) + STRING_0 ) ) ; expResult . add ( ( ( ( org . glassfish . IDENT_0 . IDENT_1 . IDENT_4 . IDENT_5 ) + ( IDENT_6 . IDENT_7 ) ) + STRING_1 ) ) ; java . util . List result = org . glassfish . IDENT_0 . IDENT_1 . IDENT_6 . METHOD_2 ( org . glassfish . IDENT_0 . IDENT_1 . IDENT_4 . IDENT_5 , IDENT_3 ) ; "<AssertPlaceHolder>" ; } METHOD_2 ( java . lang . String , java . util . List ) { java . util . List < java . lang . String > IDENT_8 = new java . util . ArrayList < java . lang . String > ( ) ; java . util . Iterator < com . sun . IDENT_9 . config . IDENT_10 . IDENT_2 > it = IDENT_11 . iterator ( ) ; while ( it . hasNext ( ) ) { com . sun . IDENT_9 . config . IDENT_10 . IDENT_2 app = it . next ( ) ; if ( ( app . getName ( ) . startsWith ( ( IDENT_12 + ( org . glassfish . IDENT_0 . IDENT_1 . IDENT_6 . IDENT_7 ) ) ) ) || ( app . getName ( ) . equals ( IDENT_12 ) ) ) { IDENT_8 . add ( app . getName ( ) ) ; } } return IDENT_8 ; }
org . junit . Assert . assertEquals ( expResult , result )