METHOD_0 ( ) { final org . kie . workbench . common . IDENT_0 . client . IDENT_1 . IDENT_2 . IDENT_3 IDENT_4 = mock ( org . kie . workbench . common . IDENT_0 . client . IDENT_1 . IDENT_2 . IDENT_3 . class ) ; final java . lang . String expected = STRING_0 ; doReturn ( IDENT_4 ) . when ( IDENT_5 ) . METHOD_1 ( ) ; when ( IDENT_4 . getPath ( ) ) . thenReturn ( expected ) ; final java . lang . String actual = IDENT_5 . METHOD_2 ( ) ; "<AssertPlaceHolder>" ; } METHOD_2 ( ) { if ( isEmpty ( METHOD_1 ( ) . getPath ( ) ) ) { return METHOD_1 ( ) . METHOD_3 ( ) ; } else { return METHOD_1 ( ) . getPath ( ) ; } }
org . junit . Assert . assertEquals ( expected , actual )