METHOD_0 ( ) { final javax . persistence . Query IDENT_0 = mock ( javax . persistence . Query . class ) ; when ( IDENT_1 . METHOD_1 ( anyString ( ) ) ) . thenReturn ( IDENT_0 ) ; doReturn ( IDENT_0 ) . when ( IDENT_0 ) . METHOD_2 ( anyString ( ) , METHOD_3 ( ) ) ; when ( IDENT_0 . METHOD_4 ( ) ) . thenReturn ( java . util . Collections . singletonList ( 1 ) ) ; final java . lang . Integer IDENT_2 = INT_0 ; final boolean IDENT_3 = IDENT_4 . METHOD_5 ( IDENT_2 ) ; "<AssertPlaceHolder>" ; } METHOD_5 ( java . lang . Integer ) { final javax . persistence . Query query = IDENT_1 . METHOD_1 ( nl . bzk . brp . IDENT_5 . repository . IDENT_6 . IDENT_7 . IDENT_8 ) . METHOD_2 ( STRING_0 , IDENT_9 ) ; return ( query . METHOD_4 ( ) . size ( ) ) == 1 ; }
org . junit . Assert . assertTrue ( IDENT_3 )