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