METHOD_0 ( ) { java . lang . Exception out = new com . IDENT_0 . IDENT_1 . IDENT_2 . METHOD_1 ( new com . IDENT_0 . IDENT_1 . IDENT_2 . IDENT_3 < java . lang . String > ( STRING_0 ) ) ; java . io . ByteArrayOutputStream IDENT_4 = new java . io . ByteArrayOutputStream ( ) ; java . io . IDENT_5 IDENT_6 = new java . io . METHOD_2 ( IDENT_4 ) ; IDENT_6 . METHOD_3 ( out ) ; IDENT_6 . METHOD_4 ( ) ; IDENT_6 . close ( ) ; java . io . ByteArrayInputStream IDENT_7 = new java . io . ByteArrayInputStream ( IDENT_4 . toByteArray ( ) ) ; java . io . IDENT_8 IDENT_9 = new java . io . METHOD_5 ( IDENT_7 ) ; java . lang . Exception in = ( ( java . lang . Exception ) ( IDENT_9 . METHOD_6 ( ) ) ) ; IDENT_9 . close ( ) ; "<AssertPlaceHolder>" ; } getMessage ( ) { java . lang . StringBuilder sb = new java . lang . StringBuilder ( ) ; if ( ( IDENT_10 . METHOD_7 ( ) ) && ( IDENT_10 . METHOD_8 ( ) . METHOD_9 ( ) ) ) { for ( java . lang . Object obj : IDENT_10 . METHOD_8 ( ) . METHOD_10 ( ) ) { if ( obj instanceof javax . xml . IDENT_11 . IDENT_12 ) { obj = ( ( javax . xml . IDENT_11 . IDENT_12 ) ( obj ) ) . getValue ( ) ; } if ( obj instanceof com . microsoft . IDENT_13 . IDENT_10 . IDENT_14 ) { sb . append ( METHOD_11 ( ( ( com . microsoft . IDENT_13 . IDENT_10 . IDENT_14 ) ( obj ) ) ) ) ; } else if ( obj != null ) { sb . append ( obj . toString ( ) ) ; } } } else { sb . append ( STRING_1 ) ; } org . w3c . IDENT_15 . IDENT_16 . IDENT_17 IDENT_18 = IDENT_10 . METHOD_12 ( ) ; if ( IDENT_18 != null ) { java . util . List < org . w3c . IDENT_15 . IDENT_16 . IDENT_19 > IDENT_20 = IDENT_18 . getText ( ) ; if ( IDENT_20 != null ) { for ( int i = 0 ; i < ( IDENT_20 . size ( ) ) ; i ++ ) { if ( i == 0 ) { sb . append ( STRING_2 ) ; } else { sb . append ( STRING_3 ) ; } sb . append ( IDENT_20 . get ( i ) . getValue ( ) ) ; } } } return sb . toString ( ) ; }
org . junit . Assert . assertTrue ( in . getMessage ( ) . contains ( STRING_0 ) )