METHOD_0 ( ) { System . out . println ( STRING_0 ) ; com . IDENT_0 . IDENT_1 . domain . IDENT_2 . IDENT_3 entity = com . IDENT_0 . IDENT_1 . IDENT_4 . IDENT_5 . METHOD_1 ( ) ; com . IDENT_0 . IDENT_1 . persistence . IDENT_6 instance = new com . IDENT_0 . IDENT_1 . persistence . impl . METHOD_2 ( com . IDENT_0 . IDENT_1 . persistence . impl . IDENT_7 . f . METHOD_3 ( ) ) ; com . IDENT_0 . IDENT_1 . domain . IDENT_2 . IDENT_3 result = instance . create ( entity ) ; "<AssertPlaceHolder>" ; } create ( com . IDENT_0 . IDENT_1 . domain . IDENT_2 . IDENT_3 ) { if ( ! ( IDENT_8 . exists ( entity . METHOD_4 ( ) . getId ( ) ) ) ) { throw new com . IDENT_0 . IDENT_1 . exception . METHOD_5 ( ( STRING_1 + ( entity . METHOD_4 ( ) ) ) ) ; } if ( IDENT_9 . exists ( entity . getId ( ) ) ) { throw new com . IDENT_0 . IDENT_1 . exception . METHOD_6 ( STRING_2 ) ; } com . IDENT_10 . IDENT_11 . IDENT_12 . METHOD_7 ( entity ) ; return IDENT_9 . create ( entity ) ; }
org . junit . Assert . assertEquals ( entity , result )