METHOD_0 ( ) { when ( mapping . METHOD_1 ( ) ) . thenReturn ( false ) ; com . IDENT_0 . IDENT_1 . IDENT_2 . api . model . IDENT_3 status = service . METHOD_2 ( IDENT_4 ) ; "<AssertPlaceHolder>" ; } METHOD_2 ( com . IDENT_0 . IDENT_1 . IDENT_2 . api . model . IDENT_5 ) { try ( com . IDENT_0 . IDENT_1 . IDENT_2 . mapping . model . IDENT_6 mapping = IDENT_7 . newInstance ( IDENT_8 ) ) { if ( ! ( mapping . METHOD_1 ( ) ) ) { return com . IDENT_0 . IDENT_1 . IDENT_2 . api . model . IDENT_3 . IDENT_9 ; } } catch ( java . lang . Exception e ) { return com . IDENT_0 . IDENT_1 . IDENT_2 . api . model . IDENT_3 . IDENT_9 ; } return com . IDENT_0 . IDENT_1 . IDENT_2 . api . model . IDENT_3 . IDENT_10 ; }
org . junit . Assert . assertThat ( status , org . hamcrest . CoreMatchers . is ( IDENT_3 . IDENT_9 ) )