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