METHOD_0 ( ) { org . IDENT_0 . IDENT_1 . common . service . IDENT_2 IDENT_3 = mock ( org . IDENT_0 . IDENT_1 . common . service . IDENT_2 . class ) ; org . IDENT_0 . IDENT_1 . common . service . IDENT_4 service = mock ( org . IDENT_0 . IDENT_1 . common . service . IDENT_4 . class ) ; when ( IDENT_3 . METHOD_1 ( METHOD_2 ( ) ) ) . thenReturn ( new org . IDENT_0 . IDENT_1 . common . domain . METHOD_3 ( ) ) ; controller . METHOD_4 ( IDENT_3 ) ; controller . METHOD_5 ( service ) ; org . IDENT_0 . IDENT_1 . IDENT_5 . web . IDENT_6 . IDENT_7 . IDENT_8 IDENT_9 = new org . IDENT_0 . IDENT_1 . IDENT_5 . web . IDENT_6 . IDENT_7 . METHOD_6 ( ) ; IDENT_9 . METHOD_7 ( java . util . UUID . METHOD_8 ( ) . toString ( ) ) ; IDENT_9 . METHOD_9 ( STRING_0 ) ; "<AssertPlaceHolder>" ; } create ( java . lang . Long , org . IDENT_0 . IDENT_1 . IDENT_5 . web . IDENT_6 . IDENT_10 , org . springframework . validation . IDENT_11 ) { if ( result . METHOD_10 ( ) ) return STRING_1 ; org . IDENT_0 . IDENT_1 . common . domain . IDENT_12 IDENT_13 = IDENT_3 . METHOD_11 ( IDENT_14 , java . util . UUID . METHOD_12 ( IDENT_9 . METHOD_13 ( ) ) ) ; if ( IDENT_13 != null ) { IDENT_15 . METHOD_14 ( IDENT_13 , null , null ) ; } return STRING_2 ; }
org . junit . Assert . assertEquals ( STRING_2 , controller . create ( 1L , IDENT_9 , mock ( org . springframework . validation . IDENT_11 . class ) ) )