create ( ) { final org . IDENT_0 . web . catalog . domain . User user = METHOD_0 ( ) ; when ( repository . METHOD_1 ( org . IDENT_0 . web . catalog . test . service . IDENT_1 . IDENT_2 ) ) . thenReturn ( Boolean . IDENT_3 ) ; when ( repository . save ( any ( org . IDENT_0 . web . catalog . domain . User . class ) ) ) . thenReturn ( user ) ; final org . IDENT_0 . web . catalog . domain . User IDENT_4 = service . create ( user ) ; "<AssertPlaceHolder>" ; verify ( repository ) . METHOD_1 ( org . IDENT_0 . web . catalog . test . service . IDENT_1 . IDENT_2 ) ; verify ( repository ) . save ( user ) ; } getName ( ) { final java . lang . String IDENT_5 = java . lang . System . getProperty ( Constants . IDENT_6 ) ; return IDENT_5 . toLowerCase ( ) ; }
org . junit . Assert . assertEquals ( IDENT_4 . getName ( ) , user . getName ( ) )