METHOD_0 ( ) { final org . baeldung . IDENT_0 . IDENT_1 IDENT_2 = new org . baeldung . IDENT_0 . METHOD_1 ( IDENT_3 , IDENT_4 ) ; final java . lang . Object result = IDENT_2 . METHOD_2 ( STRING_0 , org . baeldung . IDENT_0 . IDENT_5 . class , org . baeldung . IDENT_0 . Person . class ) ; "<AssertPlaceHolder>" ; } METHOD_2 ( java . lang . String , java . lang . Class , java . lang . Class ) { java . lang . Object IDENT_6 = null ; if ( ! ( IDENT_3 . METHOD_3 ( IDENT_7 ) ) ) { org . baeldung . IDENT_0 . METHOD_1 . logger . info ( STRING_1 , IDENT_7 ) ; java . lang . Object IDENT_8 = null ; try { final java . lang . reflect . IDENT_9 < ? > IDENT_10 = IDENT_11 . METHOD_4 ( java . lang . Class . class ) ; IDENT_8 = IDENT_10 . newInstance ( IDENT_12 ) ; } catch ( final java . lang . Exception e ) { org . baeldung . IDENT_0 . METHOD_1 . logger . error ( org . baeldung . IDENT_0 . METHOD_1 . IDENT_13 , IDENT_11 . METHOD_5 ( ) , e ) ; throw new java . lang . RuntimeException ( e ) ; } IDENT_6 = IDENT_3 . METHOD_6 ( IDENT_8 , IDENT_7 ) ; IDENT_3 . METHOD_7 ( IDENT_6 , org . baeldung . IDENT_0 . METHOD_1 . IDENT_14 , true ) ; IDENT_3 . METHOD_8 ( IDENT_7 , IDENT_6 ) ; org . baeldung . IDENT_0 . METHOD_1 . logger . info ( STRING_2 , IDENT_7 ) ; } else { IDENT_6 = IDENT_3 . METHOD_9 ( IDENT_7 ) ; org . baeldung . IDENT_0 . METHOD_1 . logger . info ( STRING_3 , IDENT_7 ) ; } return IDENT_6 ; }
org . junit . Assert . assertThat ( ( result instanceof org . baeldung . IDENT_0 . IDENT_5 ) , org . hamcrest . CoreMatchers . is ( true ) )