METHOD_0 ( ) { java . lang . String id = "1" ; java . lang . String name = STRING_0 ; java . util . Map < java . lang . String , java . lang . Object > parameters = new java . util . HashMap ( ) ; parameters . put ( "name" , name ) ; org . lnu . is . resource . person . IDENT_0 expected = new org . lnu . is . resource . person . METHOD_1 ( ) ; expected . setName ( java . util . Arrays . asList ( name ) ) ; when ( param . METHOD_2 ( ) ) . thenReturn ( type ) ; when ( type . METHOD_3 ( ) ) . thenReturn ( types ) ; java . lang . Object actual = unit . getResource ( param , parameters ) ; verify ( param ) . METHOD_2 ( ) ; verify ( type ) . METHOD_3 ( ) ; "<AssertPlaceHolder>" ; } verify ( T ) { METHOD_4 ( resource ) ; if ( ( IDENT_1 ) != null ) { IDENT_1 . verify ( resource ) ; } }
org . junit . Assert . assertEquals ( expected , actual )