METHOD_0 ( ) { com . IDENT_0 . domain . model . IDENT_1 d = new com . IDENT_0 . domain . model . METHOD_1 ( ) ; d . METHOD_2 ( com . IDENT_0 . service . IDENT_2 . impl . test . IDENT_3 . content ) ; d . METHOD_3 ( com . IDENT_0 . service . IDENT_2 . impl . test . IDENT_3 . subject ) ; d . METHOD_4 ( user . getId ( ) ) ; d . METHOD_5 ( user . getName ( ) ) ; com . IDENT_0 . domain . model . METHOD_1 result = IDENT_4 . create ( d ) ; verify ( IDENT_5 ) . insert ( METHOD_6 ( new com . IDENT_0 . test . IDENT_6 . IDENT_7 < com . IDENT_0 . domain . model . METHOD_1 > ( ) { @ com . IDENT_0 . service . IDENT_2 . impl . test . Override public boolean matches ( java . lang . Object IDENT_8 ) { com . IDENT_0 . domain . model . METHOD_1 d = ( ( com . IDENT_0 . domain . model . METHOD_1 ) ( IDENT_8 ) ) ; return ( ( ( ( ( ( ( d . METHOD_7 ( ) ) != null ) && ( ( d . METHOD_8 ( ) ) != null ) ) && ( d . METHOD_9 ( ) . equals ( user . getId ( ) ) ) ) && ( d . METHOD_10 ( ) . equals ( user . getName ( ) ) ) ) && ( d . METHOD_11 ( ) . equals ( false ) ) ) && ( d . METHOD_12 ( ) . equals ( com . IDENT_0 . service . IDENT_2 . impl . test . IDENT_3 . content ) ) ) && ( d . METHOD_13 ( ) . equals ( com . IDENT_0 . service . IDENT_2 . impl . test . IDENT_3 . subject ) ) ; } } ) ) ; verify ( IDENT_9 ) . METHOD_14 ( d ) ; verify ( IDENT_9 ) . METHOD_15 ( IDENT_10 ) ; verify ( IDENT_11 ) . METHOD_16 ( d , user ) ; verify ( IDENT_11 ) . METHOD_17 ( d ) ; "<AssertPlaceHolder>" ; } METHOD_17 ( com . IDENT_0 . domain . model . type . IDENT_12 ) { if ( ( ( IDENT_13 . METHOD_18 ( ) ) == null ) || ( ( IDENT_13 . METHOD_18 ( ) . size ( ) ) == 0 ) ) { return ; } for ( com . IDENT_0 . domain . model . User user : IDENT_13 . METHOD_18 ( ) ) { try { com . IDENT_0 . domain . model . IDENT_14 IDENT_15 = new com . IDENT_0 . domain . model . METHOD_19 ( ) ; IDENT_15 . METHOD_20 ( IDENT_13 . METHOD_21 ( ) ) ; IDENT_15 . METHOD_22 ( IDENT_13 . METHOD_23 ( ) ) ; IDENT_15 . METHOD_24 ( user . getId ( ) ) ; IDENT_16 . insert ( IDENT_15 ) ; } catch ( org . springframework . dao . IDENT_17 e ) { } } }
org . junit . Assert . assertEquals ( d , result )