METHOD_0 ( ) { final org . IDENT_0 . backend . IDENT_1 . Path path = mock ( org . IDENT_0 . backend . IDENT_1 . Path . class ) ; final org . IDENT_2 . common . services . shared . metadata . model . IDENT_3 metadata = mock ( org . IDENT_2 . common . services . shared . metadata . model . IDENT_3 . class ) ; final org . IDENT_0 . backend . IDENT_1 . Path IDENT_4 = mock ( org . IDENT_0 . backend . IDENT_1 . Path . class ) ; final java . lang . String IDENT_5 = STRING_0 ; final org . kie . workbench . common . IDENT_6 . project . IDENT_7 . IDENT_8 resource = new org . kie . workbench . common . IDENT_6 . project . IDENT_7 . impl . METHOD_1 ( IDENT_5 ) ; final java . lang . String IDENT_9 = STRING_1 ; when ( IDENT_10 . METHOD_2 ( path , IDENT_5 , metadata , IDENT_9 ) ) . thenReturn ( IDENT_4 ) ; final org . IDENT_0 . backend . IDENT_1 . Path IDENT_11 = service . save ( path , resource , metadata , IDENT_9 ) ; "<AssertPlaceHolder>" ; } save ( org . IDENT_0 . backend . IDENT_1 . Path , org . kie . workbench . common . IDENT_12 . IDENT_7 . model . IDENT_13 , org . IDENT_2 . common . services . shared . metadata . model . IDENT_3 , java . lang . String ) { IDENT_14 . write ( org . IDENT_0 . backend . server . util . IDENT_15 . convert ( path ) , IDENT_16 . serialize ( content . METHOD_3 ( ) ) , IDENT_17 . METHOD_4 ( path , metadata ) , IDENT_18 . METHOD_5 ( IDENT_9 ) ) ; return path ; }
org . junit . Assert . assertSame ( IDENT_4 , IDENT_11 )