METHOD_0 ( ) { java . lang . Long id = 1L ; java . lang . String name = STRING_0 ; java . lang . Long IDENT_0 = INT_0 ; org . lnu . is . resource . person . IDENT_1 expected = new org . lnu . is . resource . person . METHOD_1 ( ) ; expected . METHOD_2 ( new java . util . Date ( ) ) ; expected . METHOD_3 ( new java . util . Date ( ) ) ; expected . setName ( name ) ; expected . METHOD_4 ( IDENT_0 ) ; org . lnu . is . domain . person . type . IDENT_2 IDENT_3 = new org . lnu . is . domain . person . type . METHOD_5 ( ) ; org . lnu . is . domain . person . Person person = new org . lnu . is . domain . person . Person ( ) ; person . METHOD_2 ( new java . util . Date ( ) ) ; person . METHOD_3 ( new java . util . Date ( ) ) ; person . setName ( name ) ; person . METHOD_6 ( IDENT_3 ) ; when ( service . METHOD_7 ( METHOD_8 ( ) ) ) . thenReturn ( person ) ; when ( IDENT_4 . convert ( any ( org . lnu . is . domain . person . Person . class ) ) ) . thenReturn ( expected ) ; org . lnu . is . resource . person . METHOD_1 actual = unit . getResource ( id ) ; verify ( service ) . METHOD_7 ( id ) ; verify ( IDENT_4 ) . convert ( person ) ; verify ( IDENT_5 ) . convert ( person , expected ) ; "<AssertPlaceHolder>" ; } convert ( org . lnu . is . resource . IDENT_6 . type . IDENT_7 ) { return convert ( source , new org . lnu . is . domain . IDENT_8 . type . METHOD_9 ( ) ) ; }
org . junit . Assert . assertEquals ( expected , actual )