METHOD_0 ( ) { final java . lang . IDENT_0 IDENT_1 = org . easymock . EasyMock . METHOD_1 ( org . exist . security . IDENT_0 . class ) ; final int IDENT_2 = new java . util . METHOD_2 ( ) . METHOD_3 ( IDENT_3 . IDENT_4 ) ; final int IDENT_5 = INT_0 ; final int IDENT_6 = new java . util . METHOD_2 ( ) . METHOD_3 ( IDENT_3 . IDENT_7 ) ; final org . exist . security . IDENT_8 IDENT_9 = org . easymock . EasyMock . METHOD_1 ( org . exist . security . IDENT_8 . class ) ; final boolean IDENT_10 = false ; final int IDENT_11 = new java . util . METHOD_2 ( ) . METHOD_3 ( IDENT_3 . IDENT_4 ) ; expect ( IDENT_9 . METHOD_4 ( ) ) . andReturn ( IDENT_10 ) ; expect ( IDENT_9 . getId ( ) ) . andReturn ( IDENT_11 ) ; expect ( IDENT_9 . METHOD_5 ( ) ) . andReturn ( new int [ 0 ] ) ; replay ( IDENT_1 , IDENT_9 ) ; org . exist . security . IDENT_12 IDENT_13 = new org . exist . security . METHOD_6 ( IDENT_1 , IDENT_2 , IDENT_6 , IDENT_5 ) ; boolean isValid = IDENT_13 . validate ( IDENT_9 , IDENT_12 . IDENT_14 ) ; verify ( IDENT_1 , IDENT_9 ) ; "<AssertPlaceHolder>" ; } validate ( java . io . InputStream , java . lang . String ) { if ( ( IDENT_15 != null ) && ( IDENT_15 . startsWith ( "/" ) ) ) { IDENT_15 = STRING_0 + IDENT_15 ; } if ( ( IDENT_15 != null ) && ( ( ( ( IDENT_15 . METHOD_7 ( STRING_1 ) ) || ( IDENT_15 . METHOD_7 ( STRING_2 ) ) ) || ( IDENT_15 . METHOD_7 ( STRING_3 ) ) ) || ( IDENT_15 . METHOD_7 ( STRING_4 ) ) ) ) { return METHOD_8 ( stream , IDENT_15 ) ; } else { return METHOD_9 ( stream , IDENT_15 ) ; } }
org . junit . Assert . assertFalse ( isValid )