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