METHOD_0 ( ) { IDENT_0 . IDENT_1 . IDENT_2 . IDENT_3 [ ] result = new IDENT_0 . IDENT_1 . IDENT_2 . IDENT_3 [ 0 ] ; org . mockito . Mockito . when ( IDENT_4 . METHOD_1 ( io . IDENT_0 . IDENT_5 . IDENT_6 . IDENT_7 . IDENT_8 . IDENT_9 ) ) . thenReturn ( result ) ; IDENT_0 . IDENT_1 . IDENT_2 . IDENT_3 [ ] IDENT_10 = IDENT_11 . METHOD_2 ( io . IDENT_0 . IDENT_5 . IDENT_6 . IDENT_7 . IDENT_8 . IDENT_9 ) ; verify ( IDENT_4 ) . METHOD_1 ( io . IDENT_0 . IDENT_5 . IDENT_6 . IDENT_7 . IDENT_8 . IDENT_9 ) ; "<AssertPlaceHolder>" ; } METHOD_1 ( java . lang . String ) { javax . persistence . Query query = IDENT_12 . METHOD_3 ( STRING_0 , io . IDENT_0 . IDENT_5 . IDENT_6 . IDENT_7 . persistence . IDENT_13 . class ) ; query . METHOD_4 ( STRING_1 , IDENT_14 ) ; return METHOD_5 ( query ) ; }
org . junit . Assert . assertArrayEquals ( result , IDENT_10 )