METHOD_0 ( ) { when ( IDENT_0 . METHOD_1 ( any ( org . IDENT_1 . IDENT_2 . class ) ) ) . thenReturn ( false ) ; IDENT_3 . IDENT_4 . IDENT_4 . IDENT_5 . IDENT_6 IDENT_7 = mock ( IDENT_3 . IDENT_4 . IDENT_4 . IDENT_5 . IDENT_6 . class ) ; when ( plugin . METHOD_2 ( ) ) . thenReturn ( IDENT_7 ) ; IDENT_3 . IDENT_4 . IDENT_4 . database . IDENT_8 . IDENT_9 IDENT_10 = mock ( IDENT_3 . IDENT_4 . IDENT_4 . database . IDENT_8 . IDENT_9 . class ) ; when ( IDENT_7 . METHOD_3 ( org . mockito . Matchers . any ( ) ) ) . thenReturn ( java . util . Optional . of ( IDENT_10 ) ) ; org . IDENT_1 . entity . IDENT_11 entity = mock ( org . IDENT_1 . entity . IDENT_11 . class ) ; when ( entity . METHOD_4 ( ) ) . thenReturn ( null ) ; org . IDENT_1 . event . entity . IDENT_12 e = mock ( org . IDENT_1 . event . entity . IDENT_12 . class ) ; when ( e . METHOD_4 ( ) ) . thenReturn ( location ) ; IDENT_3 . IDENT_4 . IDENT_4 . IDENT_13 . IDENT_14 . IDENT_15 . IDENT_16 l = new IDENT_3 . IDENT_4 . IDENT_4 . IDENT_13 . IDENT_14 . IDENT_15 . METHOD_5 ( ) ; l . METHOD_6 ( plugin ) ; when ( e . METHOD_7 ( ) ) . thenReturn ( entity ) ; "<AssertPlaceHolder>" ; } METHOD_8 ( org . IDENT_1 . event . entity . IDENT_12 ) { if ( ! ( METHOD_9 ( ) . METHOD_1 ( e . METHOD_7 ( ) . METHOD_4 ( ) ) ) ) { return false ; } if ( ( ( ( ( ( e . METHOD_10 ( ) . equals ( IDENT_17 . IDENT_18 ) ) || ( e . METHOD_10 ( ) . equals ( IDENT_17 . IDENT_19 ) ) ) || ( e . METHOD_10 ( ) . equals ( IDENT_17 . IDENT_20 ) ) ) || ( e . METHOD_10 ( ) . equals ( IDENT_17 . IDENT_21 ) ) ) || ( e . METHOD_10 ( ) . equals ( IDENT_17 . IDENT_22 ) ) ) || ( e . METHOD_10 ( ) . equals ( IDENT_17 . IDENT_23 ) ) ) { java . util . Optional < IDENT_3 . IDENT_4 . IDENT_4 . database . IDENT_8 . IDENT_9 > IDENT_10 = METHOD_2 ( ) . METHOD_3 ( e . METHOD_4 ( ) ) ; if ( ( IDENT_3 . IDENT_4 . IDENT_4 . util . IDENT_24 . METHOD_11 ( e . METHOD_7 ( ) ) ) && ( ! ( ( e . METHOD_7 ( ) ) instanceof org . IDENT_1 . entity . IDENT_25 ) ) ) { boolean IDENT_26 = IDENT_10 . map ( ( i ) -> ! ( i . METHOD_12 ( IDENT_27 . IDENT_28 ) ) ) . METHOD_13 ( ( ! ( IDENT_27 . IDENT_28 . METHOD_14 ( e . METHOD_7 ( ) . METHOD_15 ( ) ) ) ) ) ; e . METHOD_16 ( IDENT_26 ) ; return IDENT_26 ; } else if ( ( IDENT_3 . IDENT_4 . IDENT_4 . util . IDENT_24 . METHOD_17 ( e . METHOD_7 ( ) ) ) || ( ( e . METHOD_7 ( ) ) instanceof org . IDENT_1 . entity . IDENT_25 ) ) { boolean IDENT_26 = IDENT_10 . map ( ( i ) -> ! ( i . METHOD_12 ( IDENT_27 . IDENT_29 ) ) ) . METHOD_13 ( ( ! ( IDENT_27 . IDENT_29 . METHOD_14 ( e . METHOD_7 ( ) . METHOD_15 ( ) ) ) ) ) ; e . METHOD_16 ( IDENT_26 ) ; return IDENT_26 ; } } return false ; }
org . junit . Assert . assertFalse ( l . METHOD_8 ( e ) )