METHOD_0 ( ) { org . w3c . dom . Element IDENT_0 = ( ( org . w3c . dom . Element ) ( IDENT_1 . library . IDENT_2 . dom . IDENT_3 . METHOD_1 ( IDENT_1 . library . IDENT_4 . IDENT_5 . IDENT_6 , STRING_0 ) . get ( 0 ) ) ) ; IDENT_1 . library . IDENT_4 . IDENT_7 instance = new IDENT_1 . library . IDENT_4 . METHOD_2 ( ) ; instance . METHOD_3 ( IDENT_1 . library . IDENT_4 . IDENT_5 . IDENT_6 ) ; org . w3c . dom . Element expResult = ( ( org . w3c . dom . Element ) ( IDENT_1 . library . IDENT_2 . dom . IDENT_3 . METHOD_1 ( IDENT_1 . library . IDENT_4 . IDENT_5 . IDENT_6 , STRING_1 ) . get ( 0 ) ) ) ; org . w3c . dom . Element result = instance . METHOD_4 ( IDENT_0 ) ; "<AssertPlaceHolder>" ; } METHOD_4 ( org . w3c . dom . Element ) { org . w3c . dom . Element IDENT_8 = null ; java . lang . String type = IDENT_0 . METHOD_5 ( STRING_2 ) ; if ( type . isEmpty ( ) ) { IDENT_1 . library . IDENT_4 . List < org . w3c . dom . Element > IDENT_9 = IDENT_1 . library . IDENT_2 . dom . IDENT_3 . METHOD_6 ( IDENT_0 , STRING_3 , IDENT_1 . library . IDENT_4 . IDENT_10 , true ) ; if ( ! ( IDENT_9 . isEmpty ( ) ) ) { IDENT_8 = IDENT_9 . get ( 0 ) ; } } else { int IDENT_11 = type . indexOf ( STRING_4 ) ; if ( IDENT_11 > 0 ) { java . lang . String IDENT_12 = type . substring ( ( IDENT_11 + 1 ) ) ; java . lang . String IDENT_13 = type . substring ( 0 , IDENT_11 ) ; java . lang . String IDENT_14 = IDENT_1 . library . IDENT_2 . dom . IDENT_3 . METHOD_7 ( IDENT_0 , IDENT_13 ) ; IDENT_8 = METHOD_8 ( IDENT_14 , IDENT_12 ) ; } } return IDENT_8 ; }
org . junit . Assert . assertEquals ( expResult , result )