METHOD_0 ( ) { org . wildfly . IDENT_0 . web . session . IDENT_1 attributes = mock ( org . wildfly . IDENT_0 . web . session . IDENT_1 . class ) ; java . util . Set < java . lang . String > expected = new java . util . METHOD_1 ( ) ; when ( this . session . METHOD_2 ( ) ) . thenReturn ( attributes ) ; when ( attributes . METHOD_0 ( ) ) . thenReturn ( expected ) ; java . util . IDENT_2 < java . lang . String > result = this . IDENT_3 . METHOD_0 ( ) ; "<AssertPlaceHolder>" ; } list ( javax . IDENT_4 . IDENT_5 ) { final org . jboss . IDENT_6 . service . IDENT_7 IDENT_8 = METHOD_3 ( name ) ; final org . jboss . IDENT_6 . service . IDENT_7 IDENT_9 = IDENT_10 . METHOD_4 ( IDENT_8 ) ; boolean IDENT_11 = false ; if ( ( METHOD_4 != null ) && ( METHOD_4 . METHOD_5 ( IDENT_8 ) ) ) { java . lang . Object obj = METHOD_6 ( name . toString ( ) , METHOD_4 , true ) ; if ( obj instanceof org . jboss . as . IDENT_4 . IDENT_12 ) { IDENT_11 = true ; } else if ( obj != null ) { throw new org . jboss . as . IDENT_4 . METHOD_7 ( convert ( METHOD_4 ) ) ; } } final java . util . List < org . jboss . IDENT_6 . service . IDENT_7 > IDENT_13 = METHOD_8 ( IDENT_8 , IDENT_11 ) ; final java . lang . String [ ] IDENT_14 = IDENT_8 . toArray ( ) ; final java . util . Set < java . lang . String > IDENT_15 = new java . util . HashSet < java . lang . String > ( ) ; final java . util . List < javax . IDENT_4 . IDENT_16 > results = new java . util . ArrayList < javax . IDENT_4 . IDENT_16 > ( ) ; for ( org . jboss . IDENT_6 . service . IDENT_7 child : IDENT_13 ) { final java . lang . String [ ] IDENT_17 = child . toArray ( ) ; if ( ( IDENT_17 . length ) > ( ( IDENT_14 . length ) + 1 ) ) { IDENT_15 . add ( IDENT_17 [ IDENT_14 . length ] ) ; } else { final java . lang . Object binding = METHOD_6 ( name . toString ( ) , child , false ) ; final java . lang . String IDENT_18 ; if ( binding instanceof org . jboss . as . IDENT_4 . IDENT_19 ) { IDENT_18 = org . jboss . as . IDENT_4 . IDENT_19 . class . METHOD_9 ( binding ) . METHOD_10 ( ) ; } else { if ( binding instanceof org . jboss . as . IDENT_4 . IDENT_20 ) { IDENT_18 = IDENT_19 . IDENT_21 ; } else { IDENT_18 = binding . getClass ( ) . getName ( ) ; } } results . add ( new javax . IDENT_4 . METHOD_11 ( IDENT_17 [ ( ( IDENT_17 . length ) - 1 ) ] , IDENT_18 ) ) ; } } for ( java . lang . String IDENT_22 : IDENT_15 ) { results . add ( new javax . IDENT_4 . METHOD_11 ( IDENT_22 , javax . IDENT_4 . Context . class . getName ( ) ) ) ; } return results ; }
org . junit . Assert . assertEquals ( new java . util . ArrayList ( expected ) , java . util . Collections . list ( result ) )