METHOD_0 ( ) { org . IDENT_0 . IDENT_1 . IDENT_2 . command . domain . entity . IDENT_3 IDENT_4 = METHOD_1 ( ) ; IDENT_5 . save ( IDENT_4 ) ; IDENT_5 . METHOD_2 ( ) ; org . IDENT_0 . IDENT_1 . IDENT_2 . command . domain . entity . IDENT_3 IDENT_6 = IDENT_5 . METHOD_3 ( IDENT_4 . getId ( ) ) ; org . IDENT_0 . IDENT_1 . IDENT_2 . command . domain . entity . IDENT_3 IDENT_7 = IDENT_5 . METHOD_3 ( IDENT_4 . getId ( ) ) ; "<AssertPlaceHolder>" ; } equal ( IDENT_8 extends org . IDENT_0 . entity . IDENT_9 , IDENT_8 extends org . IDENT_0 . entity . IDENT_9 ) { if ( ( entity == null ) || ( IDENT_10 == null ) ) { return false ; } if ( ! ( entity . getClass ( ) . equals ( IDENT_10 . getClass ( ) ) ) ) { return false ; } org . IDENT_0 . utils . List < java . lang . reflect . Field > IDENT_11 = org . IDENT_0 . utils . IDENT_12 . METHOD_4 ( entity . getClass ( ) ) ; org . IDENT_0 . utils . List < java . lang . reflect . Field > IDENT_13 = org . IDENT_0 . utils . IDENT_12 . METHOD_5 ( entity . getClass ( ) ) ; final org . IDENT_0 . utils . Set < java . lang . reflect . Field > IDENT_14 = new org . IDENT_0 . utils . HashSet < java . lang . reflect . Field > ( ) ; IDENT_14 . addAll ( IDENT_11 ) ; IDENT_14 . addAll ( IDENT_13 ) ; final org . IDENT_0 . utils . List < java . lang . reflect . Field > IDENT_15 = new org . IDENT_0 . utils . ArrayList < java . lang . reflect . Field > ( ) ; org . IDENT_0 . utils . IDENT_16 . METHOD_6 ( entity . getClass ( ) , new org . IDENT_0 . utils . IDENT_16 . METHOD_7 ( ) { @ org . IDENT_0 . utils . Override public void METHOD_8 ( java . lang . reflect . Field field ) throws org . IDENT_0 . utils . IDENT_17 , org . IDENT_0 . utils . IllegalArgumentException { IDENT_15 . add ( field ) ; } } , new org . IDENT_0 . utils . IDENT_16 . METHOD_9 ( ) { @ org . IDENT_0 . utils . Override public boolean matches ( java . lang . reflect . Field field ) { if ( IDENT_14 . contains ( field ) ) { return false ; } else if ( ( field . METHOD_10 ( org . IDENT_0 . entity . IDENT_18 . class ) ) != null ) { return false ; } else { return true ; } } } ) ; for ( java . lang . reflect . Field field : IDENT_15 ) { org . IDENT_0 . utils . IDENT_16 . METHOD_11 ( field ) ; java . lang . Object value = org . IDENT_0 . utils . IDENT_16 . METHOD_12 ( field , entity ) ; java . lang . Object IDENT_19 = org . IDENT_0 . utils . IDENT_16 . METHOD_12 ( field , IDENT_10 ) ; if ( ! ( org . IDENT_0 . utils . IDENT_20 . METHOD_13 ( value , IDENT_19 ) ) ) { return false ; } } return true ; }
org . junit . Assert . assertTrue ( org . IDENT_0 . utils . IDENT_12 . equal ( IDENT_6 , IDENT_7 ) )