METHOD_0 ( ) { com . eclipsesource . IDENT_0 . widgets . IDENT_1 . IDENT_2 IDENT_3 = mock ( com . eclipsesource . IDENT_0 . widgets . IDENT_1 . IDENT_2 . class ) ; when ( IDENT_3 . getId ( ) ) . thenReturn ( "foo" ) ; IDENT_4 . METHOD_1 ( IDENT_3 ) ; java . lang . Object data = tree . METHOD_2 ( IDENT_5 . IDENT_6 . getKey ( ) ) ; "<AssertPlaceHolder>" ; } getKey ( ) { return key ; }
org . junit . Assert . assertEquals ( "foo" , data )