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