METHOD_0 ( ) { com . IDENT_0 . jpa . IDENT_1 record = repository . METHOD_1 ( com . IDENT_0 . jpa . IDENT_1 . class , com . IDENT_0 . jpa . IDENT_2 . IDENT_3 ) ; java . lang . String name = record . getName ( ) ; record . setName ( ( name + STRING_0 ) ) ; repository . update ( record ) ; java . util . List < com . IDENT_0 . jpa . IDENT_1 > results = repository . METHOD_2 ( com . IDENT_0 . jpa . IDENT_1 . class , STRING_1 , ( name + STRING_0 ) ) ; "<AssertPlaceHolder>" ; } METHOD_2 ( java . lang . Class , java . lang . String , java . lang . String [ ] ) { javax . persistence . Query q = em . METHOD_3 ( query ) ; for ( int i = 0 ; i < ( params . length ) ; i ++ ) { q . METHOD_4 ( ( i + 1 ) , params [ i ] ) ; } return ( ( java . util . List < T > ) ( q . METHOD_5 ( ) ) ) ; }
org . junit . Assert . assertEquals ( 1 , results . size ( ) )