METHOD_0 ( ) { when ( IDENT_0 . METHOD_1 ( ) ) . thenReturn ( IDENT_1 ) ; when ( request . METHOD_2 ( STRING_0 ) ) . thenReturn ( "1" ) ; when ( IDENT_0 . METHOD_3 ( ) ) . thenReturn ( true ) ; when ( IDENT_1 . METHOD_4 ( 1 ) ) . thenReturn ( true ) ; when ( IDENT_1 . METHOD_5 ( 1 ) ) . thenReturn ( false ) ; when ( IDENT_1 . METHOD_6 ( 1 ) ) . thenReturn ( false ) ; when ( IDENT_1 . METHOD_7 ( ) ) . thenReturn ( true ) ; when ( IDENT_2 . METHOD_8 ( ) ) . thenReturn ( false ) ; when ( repository . get ( 1 ) ) . thenReturn ( new net . IDENT_3 . entities . METHOD_9 ( ) ) ; net . IDENT_3 . security . IDENT_4 rule = new net . IDENT_3 . security . METHOD_10 ( repository , IDENT_2 ) ; "<AssertPlaceHolder>" ; } METHOD_11 ( net . IDENT_3 . entities . IDENT_5 , javax . servlet . http . IDENT_6 ) { int IDENT_7 = this . METHOD_12 ( request ) ; boolean IDENT_8 = IDENT_0 . METHOD_3 ( ) ; if ( ! IDENT_8 ) { return false ; } net . IDENT_3 . entities . User IDENT_9 = IDENT_0 . METHOD_13 ( ) ; if ( ( IDENT_9 . getId ( ) ) == IDENT_7 ) { return true ; } net . IDENT_3 . entities . User user = IDENT_10 . get ( IDENT_7 ) ; return IDENT_0 . METHOD_1 ( ) . METHOD_14 ( user , IDENT_9 . METHOD_15 ( ) ) ; }
org . junit . Assert . assertFalse ( rule . METHOD_11 ( IDENT_0 , request ) )