METHOD_0 ( ) { final com . github . IDENT_0 . IDENT_1 person = mock ( com . github . IDENT_0 . IDENT_1 . class ) ; final com . github . IDENT_0 . service . IDENT_2 . IDENT_3 IDENT_4 = mock ( com . github . IDENT_0 . service . IDENT_2 . IDENT_3 . class ) ; doReturn ( person ) . when ( IDENT_5 ) . METHOD_1 ( ) ; doReturn ( STRING_0 ) . when ( person ) . name ( ) ; final java . lang . String actual = IDENT_6 . resolve ( STRING_1 , IDENT_4 , IDENT_5 ) ; "<AssertPlaceHolder>" ; verify ( IDENT_5 ) . METHOD_1 ( ) ; verify ( person ) . name ( ) ; } resolve ( java . lang . String , java . lang . Object , com . github . IDENT_0 . IDENT_7 ) { final java . lang . String expression = METHOD_2 ( key , null ) ; if ( expression == null ) { throw new java . lang . RuntimeException ( ( key + STRING_2 ) ) ; } return METHOD_3 ( expression , IDENT_8 , root ) ; }
org . junit . Assert . assertThat ( actual , is ( STRING_0 ) )