METHOD_0 ( ) { java . lang . String IDENT_0 = com . IDENT_1 . IDENT_2 . model . web . util . IDENT_3 . METHOD_1 ( com . IDENT_1 . IDENT_2 . model . web . IDENT_4 . IDENT_5 ) ; com . IDENT_1 . IDENT_2 . model . web . util . IDENT_6 IDENT_7 = com . IDENT_1 . IDENT_2 . model . web . util . IDENT_8 . METHOD_2 ( com . IDENT_1 . IDENT_2 . model . web . IDENT_4 . IDENT_9 , IDENT_0 ) ; java . lang . String body = IDENT_7 . METHOD_3 ( ) ; java . util . List < com . IDENT_1 . IDENT_2 . model . IDENT_10 > IDENT_11 = parser . METHOD_4 ( body ) ; "<AssertPlaceHolder>" ; com . IDENT_1 . IDENT_2 . model . IDENT_10 IDENT_12 = IDENT_11 . get ( 0 ) ; java . lang . String id = IDENT_12 . METHOD_5 ( ) ; METHOD_6 ( id ) ; } METHOD_4 ( java . lang . String ) { java . util . List < com . IDENT_1 . IDENT_2 . model . IDENT_10 > IDENT_13 = new java . util . ArrayList < com . IDENT_1 . IDENT_2 . model . IDENT_10 > ( ) ; try { javax . xml . stream . IDENT_14 IDENT_15 = javax . xml . stream . IDENT_14 . newInstance ( ) ; in = new java . io . ByteArrayInputStream ( IDENT_16 . getBytes ( ) ) ; IDENT_17 = IDENT_15 . METHOD_7 ( in ) ; com . IDENT_1 . IDENT_2 . model . IDENT_10 IDENT_18 = null ; while ( IDENT_17 . hasNext ( ) ) { javax . xml . stream . events . IDENT_19 event = IDENT_17 . METHOD_8 ( ) ; if ( event . METHOD_9 ( ) ) { javax . xml . stream . events . IDENT_20 IDENT_21 = event . METHOD_10 ( ) ; if ( ( IDENT_21 . getName ( ) . METHOD_11 ( ) ) == ( com . IDENT_1 . IDENT_2 . model . web . util . IDENT_22 . IDENT_23 ) ) { IDENT_18 = new com . IDENT_1 . IDENT_2 . model . METHOD_12 ( ) ; } if ( ( event . METHOD_10 ( ) . getName ( ) . METHOD_11 ( ) . equals ( com . IDENT_1 . IDENT_2 . model . web . util . IDENT_22 . IDENT_24 ) ) && ( IDENT_18 != null ) ) { event = IDENT_17 . METHOD_8 ( ) ; IDENT_18 . METHOD_13 ( METHOD_14 ( event ) ) ; continue ; } if ( ( event . METHOD_10 ( ) . getName ( ) . METHOD_11 ( ) . equals ( com . IDENT_1 . IDENT_2 . model . web . util . IDENT_22 . IDENT_25 ) ) && ( IDENT_18 != null ) ) { event = IDENT_17 . METHOD_8 ( ) ; IDENT_18 . METHOD_15 ( METHOD_14 ( event ) ) ; continue ; } if ( ( event . METHOD_10 ( ) . getName ( ) . METHOD_11 ( ) . equals ( com . IDENT_1 . IDENT_2 . model . web . util . IDENT_22 . IDENT_26 ) ) && ( IDENT_18 != null ) ) { event = IDENT_17 . METHOD_8 ( ) ; IDENT_18 . METHOD_16 ( java . lang . Integer . METHOD_17 ( METHOD_14 ( event ) ) ) ; continue ; } if ( ( event . METHOD_10 ( ) . getName ( ) . METHOD_11 ( ) . equals ( com . IDENT_1 . IDENT_2 . model . web . util . IDENT_22 . IDENT_27 ) ) && ( IDENT_18 != null ) ) { event = IDENT_17 . METHOD_8 ( ) ; IDENT_18 . METHOD_18 ( METHOD_14 ( event ) ) ; continue ; } if ( ( event . METHOD_10 ( ) . getName ( ) . METHOD_11 ( ) . equals ( com . IDENT_1 . IDENT_2 . model . web . util . IDENT_22 . IDENT_28 ) ) && ( IDENT_18 != null ) ) { event = IDENT_17 . METHOD_8 ( ) ; IDENT_18 . METHOD_19 ( METHOD_14 ( event ) ) ; continue ; } if ( ( event . METHOD_10 ( ) . getName ( ) . METHOD_11 ( ) . equals ( com . IDENT_1 . IDENT_2 . model . web . util . IDENT_22 . IDENT_29 ) ) && ( IDENT_18 != null ) ) { event = IDENT_17 . METHOD_8 ( ) ; IDENT_18 . METHOD_20 ( METHOD_14 ( event ) ) ; continue ; } } if ( event . METHOD_21 ( ) ) { javax . xml . stream . events . IDENT_30 IDENT_31 = event . METHOD_22 ( ) ; if ( ( IDENT_31 . getName ( ) . METHOD_11 ( ) ) == ( com . IDENT_1 . IDENT_2 . model . web . util . IDENT_22 . IDENT_23 ) ) { IDENT_13 . add ( IDENT_18 ) ; } } } } catch ( javax . xml . stream . IDENT_32 e ) { com . IDENT_1 . IDENT_2 . model . web . util . IDENT_22 . logger . error ( STRING_0 , e ) ; status = false ; } finally { try { in . close ( ) ; IDENT_17 . close ( ) ; } catch ( javax . xml . stream . IDENT_32 e ) { com . IDENT_1 . IDENT_2 . model . web . util . IDENT_22 . logger . error ( STRING_1 , e ) ; status = false ; } catch ( java . io . IOException e ) { com . IDENT_1 . IDENT_2 . model . web . util . IDENT_22 . logger . error ( STRING_1 , e ) ; status = false ; } } return IDENT_13 ; }
org . junit . Assert . assertEquals ( 1 , IDENT_11 . size ( ) )