METHOD_0 ( ) { when ( IDENT_0 . METHOD_1 ( path ) ) . thenReturn ( true ) ; boolean result = IDENT_1 . METHOD_1 ( path ) ; verify ( IDENT_0 , times ( 1 ) ) . METHOD_1 ( path ) ; "<AssertPlaceHolder>" ; } METHOD_1 ( org . IDENT_2 . java . nio . file . Path ) { final java . lang . String pattern = org . kie . workbench . common . services . backend . source . IDENT_3 . METHOD_2 ( ) ; final java . lang . String IDENT_4 = STRING_0 + pattern ; final java . lang . String uri = path . METHOD_3 ( ) . toString ( ) ; return uri . substring ( ( ( uri . length ( ) ) - ( IDENT_4 . length ( ) ) ) ) . equals ( IDENT_4 ) ; }
org . junit . Assert . assertEquals ( true , result )