METHOD_0 ( ) { java . lang . Long id = 1L ; java . lang . String name = "name" ; java . lang . String IDENT_0 = STRING_0 ; java . lang . String group = STRING_1 ; org . lnu . is . domain . IDENT_1 . IDENT_2 expected = new org . lnu . is . domain . IDENT_1 . METHOD_1 ( ) ; expected . setId ( id ) ; expected . METHOD_2 ( IDENT_0 ) ; expected . setName ( name ) ; expected . METHOD_3 ( group ) ; when ( IDENT_3 . METHOD_4 ( any ( org . lnu . is . domain . IDENT_1 . METHOD_1 . class ) ) ) . thenReturn ( expected ) ; org . lnu . is . domain . IDENT_1 . METHOD_1 actual = unit . update ( expected ) ; verify ( IDENT_4 ) . verify ( expected ) ; verify ( IDENT_3 ) . METHOD_4 ( expected ) ; "<AssertPlaceHolder>" ; } verify ( T ) { METHOD_5 ( resource ) ; if ( ( IDENT_5 ) != null ) { IDENT_5 . verify ( resource ) ; } }
org . junit . Assert . assertEquals ( expected , actual )