METHOD_0 ( ) { target . IDENT_0 = org . IDENT_1 . IDENT_2 . IDENT_3 . message . Mockito . mock ( org . IDENT_4 . type . IDENT_5 . class ) ; final java . lang . String ret = STRING_0 ; when ( IDENT_6 . convert ( target . IDENT_0 , java . lang . String . class ) ) . thenReturn ( ret ) ; "<AssertPlaceHolder>" ; verify ( IDENT_6 , METHOD_1 ( ) ) . METHOD_2 ( target . IDENT_0 ) ; } METHOD_3 ( java . lang . Class ) { if ( ( ( body ) == null ) && ( ( IDENT_0 ) != null ) ) { org . IDENT_4 . IDENT_7 IDENT_4 = null ; try { IDENT_4 = org . IDENT_1 . IDENT_2 . IDENT_3 . message . IDENT_8 . pool . METHOD_4 ( ) ; if ( IDENT_4 == null ) { IDENT_4 = new org . IDENT_4 . METHOD_5 ( ) ; } body = IDENT_4 . convert ( IDENT_0 , clazz ) ; IDENT_0 = null ; } catch ( java . io . IOException e ) { org . IDENT_1 . IDENT_2 . IDENT_3 . message . IDENT_8 . log . error ( STRING_1 , e ) ; } finally { if ( IDENT_4 != null ) { org . IDENT_1 . IDENT_2 . IDENT_3 . message . IDENT_8 . pool . add ( IDENT_4 ) ; } } } return ( ( T ) ( body ) ) ; }
org . junit . Assert . assertThat ( target . METHOD_3 ( java . lang . String . class ) , org . hamcrest . CoreMatchers . is ( ret ) )