METHOD_0 ( ) { org . IDENT_0 . java . nio . file . Path path = mock ( org . IDENT_0 . java . nio . file . Path . class ) ; when ( IDENT_1 . resolve ( org . IDENT_2 . IDENT_3 . registry . IDENT_4 . IDENT_5 . IDENT_6 ) ) . thenReturn ( path ) ; when ( IDENT_7 . exists ( path ) ) . thenReturn ( true ) ; org . IDENT_0 . java . nio . file . Path result = IDENT_8 . METHOD_1 ( org . IDENT_2 . IDENT_3 . registry . IDENT_4 . IDENT_5 . IDENT_6 ) ; verify ( IDENT_1 , times ( 1 ) ) . resolve ( org . IDENT_2 . IDENT_3 . registry . IDENT_4 . IDENT_5 . IDENT_6 ) ; verify ( IDENT_7 , METHOD_2 ( ) ) . METHOD_3 ( path ) ; "<AssertPlaceHolder>" ; } resolve ( org . kie . workbench . common . IDENT_9 . IDENT_10 . service . IDENT_11 ) { final org . kie . workbench . common . IDENT_9 . IDENT_10 . backend . server . IDENT_12 content = METHOD_4 ( query ) ; METHOD_5 ( content ) ; METHOD_6 ( content ) ; METHOD_7 ( content ) ; if ( ( ( content . METHOD_8 ( ) ) == null ) || ( ( content . METHOD_9 ( ) ) == null ) ) { return METHOD_10 ( content ) ; } else { return METHOD_11 ( content , query . METHOD_12 ( ) ) ; } }
org . junit . Assert . assertEquals ( path , result )