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