METHOD_0 ( ) { org . springframework . data . IDENT_0 . core . convert . IDENT_1 . IDENT_2 entity = new org . springframework . data . IDENT_0 . core . convert . IDENT_1 . METHOD_1 ( ) ; entity . IDENT_3 = java . util . Collections . singletonList ( java . util . Collections . METHOD_2 ( STRING_0 , 1 ) ) ; org . springframework . data . IDENT_0 . core . mapping . IDENT_4 map = new org . springframework . data . IDENT_0 . core . mapping . METHOD_3 ( STRING_0 , 1 ) ; org . springframework . data . IDENT_0 . core . mapping . IDENT_5 IDENT_6 = new org . springframework . data . IDENT_0 . core . mapping . METHOD_4 ( map ) ; java . util . Map < java . lang . String , java . lang . Object > expected = new java . util . HashMap < java . lang . String , java . lang . Object > ( ) ; expected . put ( org . springframework . data . IDENT_0 . core . convert . IDENT_7 . IDENT_8 , org . springframework . data . IDENT_0 . core . convert . IDENT_1 . METHOD_1 . class . getName ( ) ) ; expected . put ( STRING_1 , IDENT_6 ) ; org . springframework . data . IDENT_0 . core . mapping . METHOD_3 document = new org . springframework . data . IDENT_0 . core . mapping . METHOD_3 ( ) ; converter . write ( entity , document ) ; "<AssertPlaceHolder>" ; } equals ( java . lang . Object ) { if ( ! ( obj instanceof org . springframework . data . IDENT_9 . entities . integration . IDENT_10 ) ) { return false ; } if ( ( this ) == obj ) { return true ; } org . springframework . data . IDENT_9 . entities . integration . IDENT_10 that = ( ( org . springframework . data . IDENT_9 . entities . integration . IDENT_10 ) ( obj ) ) ; return new org . apache . commons . lang3 . builder . METHOD_5 ( ) . append ( this . id , that . id ) . append ( this . name , that . name ) . append ( this . IDENT_11 , that . IDENT_11 ) . append ( this . map , that . map ) . append ( this . IDENT_12 , that . IDENT_12 ) . METHOD_6 ( ) ; }
org . junit . Assert . assertThat ( expected . equals ( document ) , org . hamcrest . Matchers . is ( true ) )