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