METHOD_0 ( ) { java . lang . String IDENT_0 = STRING_0 ; java . lang . String IDENT_1 = STRING_1 ; java . util . Map < java . lang . String , java . lang . Object > parameters = java . util . Collections . < java . lang . String , java . lang . Object > METHOD_1 ( STRING_2 , IDENT_1 ) ; org . lnu . is . IDENT_2 . Query < org . lnu . is . domain . IDENT_3 . IDENT_4 > query = new org . lnu . is . IDENT_2 . Query < org . lnu . is . domain . IDENT_3 . IDENT_4 > ( org . lnu . is . domain . IDENT_3 . IDENT_4 . class , IDENT_0 , parameters ) ; org . lnu . is . domain . IDENT_3 . IDENT_4 expected = new org . lnu . is . domain . IDENT_3 . METHOD_2 ( ) ; when ( IDENT_5 . METHOD_3 ( anyString ( ) , org . mockito . Matchers . < java . lang . Class < org . lnu . is . domain . IDENT_3 . METHOD_2 > > any ( ) ) ) . thenReturn ( IDENT_6 ) ; when ( IDENT_6 . METHOD_4 ( ) ) . thenReturn ( expected ) ; org . lnu . is . domain . IDENT_3 . METHOD_2 actual = unit . METHOD_4 ( query ) ; verify ( IDENT_5 ) . METHOD_3 ( IDENT_0 , query . METHOD_5 ( ) ) ; verify ( IDENT_6 ) . METHOD_4 ( ) ; verify ( IDENT_6 ) . METHOD_6 ( STRING_2 , IDENT_1 ) ; "<AssertPlaceHolder>" ; } verify ( T ) { METHOD_7 ( resource ) ; if ( ( IDENT_7 ) != null ) { IDENT_7 . verify ( resource ) ; } }
org . junit . Assert . assertEquals ( expected , actual )