METHOD_0 ( ) { com . IDENT_0 . IDENT_1 . api . IDENT_2 IDENT_3 = METHOD_1 ( ) . METHOD_2 ( ) ; IDENT_3 . METHOD_3 ( ) . METHOD_4 ( ) ; com . IDENT_4 . IDENT_5 . IDENT_1 . test . IDENT_6 . IDENT_7 a = IDENT_3 . create ( com . IDENT_4 . IDENT_5 . IDENT_1 . test . IDENT_6 . IDENT_7 . class ) ; a . setValue ( STRING_0 ) ; IDENT_3 . METHOD_3 ( ) . commit ( ) ; IDENT_3 . METHOD_3 ( ) . METHOD_4 ( ) ; com . IDENT_4 . IDENT_5 . IDENT_1 . test . IDENT_6 . IDENT_8 b = IDENT_3 . METHOD_5 ( a , com . IDENT_4 . IDENT_5 . IDENT_1 . test . IDENT_6 . IDENT_8 . class , com . IDENT_4 . IDENT_5 . IDENT_1 . test . IDENT_6 . IDENT_9 . class ) . as ( com . IDENT_4 . IDENT_5 . IDENT_1 . test . IDENT_6 . IDENT_8 . class ) ; "<AssertPlaceHolder>" ; IDENT_3 . METHOD_3 ( ) . commit ( ) ; IDENT_3 . close ( ) ; } METHOD_4 ( ) { if ( IDENT_10 ) { throw new com . IDENT_0 . IDENT_1 . api . METHOD_6 ( STRING_1 ) ; } IDENT_10 = true ; }
org . junit . Assert . assertThat ( b . getValue ( ) , org . hamcrest . Matchers . equalTo ( STRING_0 ) )