METHOD_0 ( ) { java . lang . String module = STRING_0 ; java . lang . String IDENT_0 = STRING_1 ; java . lang . String IDENT_1 = STRING_2 ; doReturn ( IDENT_1 ) . when ( IDENT_2 ) . METHOD_1 ( any ( ) , eq ( module ) ) ; org . IDENT_3 . common . services . project . model . IDENT_4 IDENT_5 = mock ( org . IDENT_3 . common . services . project . model . IDENT_4 . class , IDENT_6 . IDENT_7 . get ( ) ) ; doReturn ( module ) . when ( IDENT_5 ) . getName ( ) ; when ( IDENT_5 . METHOD_2 ( ) . METHOD_3 ( ) ) . thenReturn ( mock ( org . IDENT_8 . backend . IDENT_9 . Path . class ) ) ; java . util . List < org . IDENT_3 . common . services . project . model . IDENT_4 > IDENT_10 = new java . util . ArrayList ( ) ; IDENT_10 . add ( IDENT_5 ) ; IDENT_10 . add ( IDENT_5 ) ; doReturn ( IDENT_5 ) . when ( service ) . METHOD_4 ( eq ( IDENT_11 ) , eq ( IDENT_12 ) ) ; doReturn ( IDENT_10 ) . when ( IDENT_2 ) . METHOD_5 ( any ( ) , eq ( module ) ) ; org . IDENT_3 . common . services . project . model . IDENT_4 IDENT_13 = mock ( org . IDENT_3 . common . services . project . model . IDENT_4 . class , IDENT_6 . IDENT_7 . get ( ) ) ; doReturn ( IDENT_0 ) . when ( IDENT_13 ) . getName ( ) ; when ( IDENT_13 . METHOD_2 ( ) . METHOD_3 ( ) ) . thenReturn ( mock ( org . IDENT_8 . backend . IDENT_9 . Path . class ) ) ; java . util . List < org . IDENT_3 . common . services . project . model . IDENT_4 > IDENT_14 = new java . util . ArrayList ( ) ; IDENT_14 . add ( IDENT_13 ) ; doReturn ( IDENT_14 ) . when ( IDENT_2 ) . METHOD_5 ( any ( ) , eq ( IDENT_0 ) ) ; service . METHOD_6 ( IDENT_11 , METHOD_6 ) ; verify ( IDENT_15 ) . save ( any ( ) , IDENT_16 . METHOD_7 ( ) , any ( ) ) ; final org . kie . workbench . common . IDENT_17 . IDENT_18 . model . IDENT_19 model = IDENT_16 . getValue ( ) ; "<AssertPlaceHolder>" ; } METHOD_8 ( ) { return IDENT_20 ; }
org . junit . Assert . assertEquals ( IDENT_1 , model . METHOD_8 ( ) . getName ( ) )