METHOD_0 ( ) { java . lang . String [ ] fields = new java . lang . String [ ] { STRING_0 , STRING_1 , STRING_2 } ; java . lang . String IDENT_0 = STRING_3 ; when ( IDENT_1 . METHOD_1 ( any ( com . IDENT_2 . IDENT_3 . IDENT_4 . class ) , eq ( fields ) ) ) . thenReturn ( IDENT_0 ) ; java . lang . String IDENT_5 = resource . METHOD_2 ( 2 , fields ) ; "<AssertPlaceHolder>" ; } METHOD_2 ( java . lang . Integer , java . lang . String [ ] ) { if ( ( fields . length ) == 0 ) { return IDENT_6 . get ( id ) . toString ( ) ; } return IDENT_1 . METHOD_1 ( IDENT_6 . get ( id ) , fields ) ; }
org . junit . Assert . assertEquals ( IDENT_0 , IDENT_5 )