METHOD_0 ( ) { com . IDENT_0 . model . api . search . IDENT_1 IDENT_2 = com . IDENT_0 . model . api . search . IDENT_3 . eq ( com . IDENT_0 . IDENT_4 . IDENT_5 . IDENT_6 . IDENT_7 , entity . METHOD_1 ( com . IDENT_0 . IDENT_4 . IDENT_5 . IDENT_6 . IDENT_7 ) ) ; com . IDENT_0 . model . api . search . IDENT_1 IDENT_8 = com . IDENT_0 . model . api . search . IDENT_3 . METHOD_2 ( IDENT_9 . IDENT_10 , IDENT_11 ) ; METHOD_3 ( entity . getId ( ) ) . METHOD_4 ( null ) ; METHOD_3 ( criteria . add ( IDENT_2 ) ) . METHOD_4 ( criteria ) ; METHOD_3 ( criteria . add ( IDENT_8 ) ) . METHOD_4 ( criteria ) ; METHOD_3 ( criteria . list ( ) ) . METHOD_4 ( IDENT_12 ) ; METHOD_3 ( IDENT_12 . METHOD_5 ( ) ) . METHOD_4 ( IDENT_5 ) ; METHOD_3 ( IDENT_5 . isEmpty ( ) ) . METHOD_4 ( false ) ; boolean result = IDENT_13 . METHOD_6 ( IDENT_14 , entity ) ; "<AssertPlaceHolder>" ; org . mockito . Mockito . verify ( entity ) . METHOD_7 ( STRING_0 ) ; } METHOD_6 ( com . IDENT_0 . model . api . IDENT_15 , com . IDENT_0 . model . api . Entity ) { com . IDENT_0 . model . api . search . IDENT_16 criteria = IDENT_17 . get ( IDENT_18 . IDENT_19 , IDENT_18 . IDENT_20 ) . find ( ) . add ( com . IDENT_0 . model . api . search . IDENT_3 . eq ( com . IDENT_0 . IDENT_4 . IDENT_5 . IDENT_6 . IDENT_7 , entity . METHOD_1 ( com . IDENT_0 . IDENT_4 . IDENT_5 . IDENT_6 . IDENT_7 ) ) ) . add ( com . IDENT_0 . model . api . search . IDENT_3 . METHOD_2 ( com . IDENT_0 . IDENT_4 . IDENT_5 . IDENT_6 . IDENT_10 , entity . METHOD_8 ( com . IDENT_0 . IDENT_4 . IDENT_5 . IDENT_6 . IDENT_10 ) ) ) ; if ( ( entity . getId ( ) ) != null ) { criteria . add ( com . IDENT_0 . model . api . search . IDENT_3 . METHOD_9 ( STRING_1 , entity . getId ( ) ) ) ; } java . util . List < com . IDENT_0 . model . api . Entity > IDENT_21 = criteria . list ( ) . METHOD_5 ( ) ; if ( IDENT_21 . isEmpty ( ) ) { return true ; } else { entity . METHOD_7 ( STRING_0 ) ; return false ; } }
org . junit . Assert . assertFalse ( result )