METHOD_0 ( ) { java . lang . Long IDENT_0 = 1L ; org . lnu . is . domain . person . Person person = new org . lnu . is . domain . person . Person ( ) ; person . setId ( IDENT_0 ) ; java . lang . Long IDENT_1 = INT_0 ; org . lnu . is . domain . IDENT_2 . type . IDENT_3 IDENT_4 = new org . lnu . is . domain . IDENT_2 . type . METHOD_1 ( ) ; IDENT_4 . setId ( IDENT_1 ) ; java . lang . Long IDENT_5 = INT_1 ; org . lnu . is . domain . person . IDENT_6 . IDENT_7 IDENT_8 = new org . lnu . is . domain . person . IDENT_6 . METHOD_2 ( ) ; IDENT_8 . setId ( IDENT_5 ) ; java . util . Date IDENT_9 = new java . util . Date ( ) ; java . util . Date IDENT_10 = new java . util . Date ( ) ; org . lnu . is . domain . person . IDENT_2 . IDENT_11 entity = new org . lnu . is . domain . person . IDENT_2 . METHOD_3 ( ) ; entity . METHOD_4 ( person ) ; entity . METHOD_5 ( IDENT_4 ) ; entity . METHOD_6 ( IDENT_8 ) ; entity . METHOD_7 ( IDENT_9 ) ; entity . METHOD_8 ( IDENT_10 ) ; java . util . Map < java . lang . String , java . lang . Object > expected = new java . util . HashMap < java . lang . String , java . lang . Object > ( ) ; expected . put ( STRING_0 , person ) ; expected . put ( STRING_1 , IDENT_4 ) ; expected . put ( STRING_2 , IDENT_8 ) ; expected . put ( STRING_3 , IDENT_9 ) ; expected . put ( STRING_4 , IDENT_10 ) ; expected . put ( STRING_5 , IDENT_12 . IDENT_13 ) ; expected . put ( STRING_6 , IDENT_14 ) ; when ( IDENT_15 . METHOD_9 ( METHOD_10 ( ) ) ) . thenReturn ( person ) ; when ( IDENT_16 . METHOD_9 ( METHOD_10 ( ) ) ) . thenReturn ( IDENT_4 ) ; when ( IDENT_17 . METHOD_9 ( METHOD_10 ( ) ) ) . thenReturn ( IDENT_8 ) ; java . util . Map < java . lang . String , java . lang . Object > actual = unit . METHOD_11 ( entity ) ; "<AssertPlaceHolder>" ; } METHOD_11 ( org . springframework . web . context . request . IDENT_18 ) { java . util . Map < java . lang . String , java . lang . Object > IDENT_19 = new java . util . HashMap < java . lang . String , java . lang . Object > ( ) ; java . util . Map < java . lang . String , java . lang . String > IDENT_20 = ( ( java . util . Map < java . lang . String , java . lang . String > ) ( IDENT_21 . METHOD_12 ( IDENT_22 . IDENT_23 , IDENT_24 . IDENT_25 ) ) ) ; java . util . Map < java . lang . String , java . lang . Object > IDENT_26 = METHOD_13 ( IDENT_21 ) ; for ( Map . Entry < java . lang . String , java . lang . Object > entry : IDENT_26 . entrySet ( ) ) { IDENT_19 . put ( entry . getKey ( ) , entry . getValue ( ) ) ; } IDENT_19 . METHOD_14 ( IDENT_20 ) ; return IDENT_19 ; }
org . junit . Assert . assertEquals ( expected , actual )