METHOD_0 ( ) { info . IDENT_0 . IDENT_1 . IDENT_2 . IDENT_3 . IDENT_4 field = new info . IDENT_0 . IDENT_1 . field . field . Field ( new info . IDENT_0 . IDENT_1 . IDENT_2 . IDENT_5 . METHOD_1 ( "a" ) ) ; info . IDENT_0 . IDENT_1 . IDENT_2 . IDENT_2 . IDENT_6 IDENT_7 = mock ( info . IDENT_0 . IDENT_1 . IDENT_2 . IDENT_2 . IDENT_6 . class ) ; when ( IDENT_7 . getValue ( new info . IDENT_0 . IDENT_1 . IDENT_2 . IDENT_5 . METHOD_1 ( "a" ) ) ) . thenReturn ( "1" ) ; java . lang . String result = field . in ( IDENT_7 , java . lang . String . class ) ; "<AssertPlaceHolder>" ; } in ( info . IDENT_0 . IDENT_1 . IDENT_2 . IDENT_2 . IDENT_6 , java . lang . Class ) { if ( ( null == obj ) || ( null == type ) ) { throw new info . IDENT_0 . IDENT_1 . base . exception . IDENT_8 . METHOD_2 ( STRING_0 ) ; } java . lang . Object value = obj . getValue ( IDENT_9 ) ; if ( null == value ) { return null ; } if ( ( type == ( value . getClass ( ) ) ) || ( type . METHOD_3 ( value . getClass ( ) ) ) ) { return ( ( T ) ( value ) ) ; } try { return info . IDENT_0 . IDENT_1 . IDENT_10 . IDENT_10 . IDENT_11 . resolve ( info . IDENT_0 . IDENT_1 . IDENT_10 . IDENT_10 . IDENT_11 . resolve ( info . IDENT_0 . IDENT_1 . IDENT_10 . IDENT_10 . IDENT_11 . METHOD_4 ( ) , ( ( type . METHOD_5 ( ) ) + STRING_1 ) ) , value ) ; } catch ( java . lang . Throwable e ) { throw new info . IDENT_0 . IDENT_1 . base . exception . IDENT_8 . METHOD_2 ( ( ( ( ( STRING_2 + ( value . getClass ( ) . METHOD_5 ( ) ) ) + STRING_3 ) + ( type . METHOD_5 ( ) ) ) + STRING_4 ) ) ; } }
org . junit . Assert . assertEquals ( result , "1" )