METHOD_0 ( ) { final java . lang . String IDENT_0 = "\n" ; final java . lang . String IDENT_1 = STRING_0 ; final java . lang . String text = STRING_1 ; final java . lang . String IDENT_2 = "name" ; final IDENT_3 . IDENT_4 . IDENT_5 . IDENT_6 expression = IDENT_3 . IDENT_4 . IDENT_5 . IDENT_6 . regex ( ) . METHOD_1 ( ) . METHOD_2 ( IDENT_2 ) . find ( IDENT_1 ) . METHOD_3 ( ) . METHOD_4 ( text ) . build ( ) ; "<AssertPlaceHolder>" ; } getText ( java . lang . String , java . lang . String ) { java . util . regex . IDENT_7 m = pattern . matcher ( IDENT_8 ) ; java . lang . StringBuilder result = new java . lang . StringBuilder ( ) ; while ( m . find ( ) ) { result . append ( m . group ( group ) ) ; } return result . toString ( ) ; }
org . junit . Assert . assertThat ( IDENT_1 , org . hamcrest . CoreMatchers . equalTo ( expression . getText ( ( ( METHOD_1 + IDENT_1 ) + text ) , IDENT_2 ) ) )