METHOD_0 ( ) { METHOD_1 ( IDENT_0 . METHOD_2 ( com . IDENT_1 . IDENT_2 . IDENT_3 . IDENT_4 . IDENT_5 ) ) . METHOD_3 ( location ) ; METHOD_1 ( IDENT_0 . METHOD_2 ( com . IDENT_1 . IDENT_2 . IDENT_3 . IDENT_4 . IDENT_6 ) ) . METHOD_3 ( IDENT_7 ) ; METHOD_1 ( IDENT_8 . find ( ) ) . METHOD_3 ( IDENT_9 ) ; METHOD_1 ( IDENT_9 . add ( org . mockito . Mockito . any ( com . IDENT_1 . model . api . search . IDENT_10 . class ) ) ) . METHOD_3 ( IDENT_9 ) ; METHOD_1 ( IDENT_9 . list ( ) ) . METHOD_3 ( IDENT_11 ) ; METHOD_1 ( IDENT_11 . METHOD_4 ( ) ) . METHOD_3 ( 0 ) ; boolean result = IDENT_12 . METHOD_5 ( IDENT_8 , IDENT_0 ) ; "<AssertPlaceHolder>" ; } METHOD_5 ( com . IDENT_1 . model . api . IDENT_13 , com . IDENT_1 . model . api . Entity ) { com . IDENT_1 . model . api . Entity location = IDENT_0 . METHOD_2 ( com . IDENT_1 . IDENT_2 . IDENT_3 . IDENT_4 . IDENT_5 ) ; com . IDENT_1 . model . api . Entity IDENT_7 = IDENT_0 . METHOD_2 ( com . IDENT_1 . IDENT_2 . IDENT_3 . IDENT_4 . IDENT_6 ) ; if ( ( IDENT_7 == null ) || ( location == null ) ) { return false ; } com . IDENT_1 . model . api . search . IDENT_14 IDENT_11 = IDENT_8 . find ( ) . add ( com . IDENT_1 . model . api . search . IDENT_15 . METHOD_6 ( com . IDENT_1 . IDENT_2 . IDENT_3 . IDENT_4 . IDENT_5 , location ) ) . add ( com . IDENT_1 . model . api . search . IDENT_15 . METHOD_6 ( com . IDENT_1 . IDENT_2 . IDENT_3 . IDENT_4 . IDENT_6 , IDENT_7 ) ) . list ( ) ; if ( ( ( IDENT_11 . METHOD_4 ( ) ) == 1 ) && ( ! ( IDENT_11 . METHOD_7 ( ) . get ( 0 ) . getId ( ) . equals ( IDENT_0 . getId ( ) ) ) ) ) { IDENT_0 . METHOD_8 ( IDENT_8 . METHOD_9 ( com . IDENT_1 . IDENT_2 . IDENT_3 . IDENT_4 . IDENT_5 ) , STRING_0 ) ; return false ; } else { return true ; } }
org . junit . Assert . assertTrue ( result )