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 . String name = "name" ; java . util . Date IDENT_5 = new java . util . Date ( ) ; org . lnu . is . domain . person . IDENT_2 . IDENT_6 entity = new org . lnu . is . domain . person . IDENT_2 . METHOD_2 ( ) ; entity . METHOD_3 ( person ) ; entity . METHOD_4 ( IDENT_4 ) ; entity . setName ( name ) ; entity . METHOD_5 ( IDENT_5 ) ; 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 ( "name" , name ) ; expected . put ( STRING_2 , IDENT_7 . IDENT_8 ) ; expected . put ( STRING_3 , IDENT_9 ) ; when ( IDENT_10 . METHOD_6 ( METHOD_7 ( ) ) ) . thenReturn ( person ) ; when ( IDENT_11 . METHOD_6 ( METHOD_7 ( ) ) ) . thenReturn ( IDENT_4 ) ; java . util . Map < java . lang . String , java . lang . Object > actual = unit . METHOD_8 ( entity ) ; verify ( IDENT_10 ) . METHOD_6 ( IDENT_0 ) ; verify ( IDENT_11 ) . METHOD_6 ( IDENT_1 ) ; "<AssertPlaceHolder>" ; } METHOD_6 ( IDENT_12 ) { org . lnu . is . dao . dao . IDENT_13 . LOG . info ( STRING_4 , METHOD_9 ( ) . METHOD_10 ( ) , id ) ; return IDENT_14 . METHOD_11 ( METHOD_9 ( ) , id ) ; }
org . junit . Assert . assertEquals ( expected , actual )