METHOD_0 ( ) { org . ocpsoft . IDENT_0 . mock . IDENT_1 context = new org . ocpsoft . IDENT_0 . mock . METHOD_1 ( ) ; org . ocpsoft . IDENT_0 . servlet . config . Path path = org . ocpsoft . IDENT_0 . servlet . config . Path . matches ( STRING_0 ) ; org . ocpsoft . IDENT_0 . util . IDENT_2 . METHOD_2 ( context , path ) ; org . ocpsoft . IDENT_0 . servlet . config . IDENT_3 header = org . ocpsoft . IDENT_0 . servlet . config . IDENT_3 . exists ( STRING_1 ) ; org . ocpsoft . IDENT_0 . util . IDENT_2 . METHOD_2 ( context , header ) ; "<AssertPlaceHolder>" ; } and ( org . ocpsoft . IDENT_0 . config . IDENT_4 ) { final org . ocpsoft . IDENT_0 . config . IDENT_5 IDENT_6 = this ; if ( condition == null ) return this ; return new org . ocpsoft . IDENT_0 . config . IDENT_5 . METHOD_3 ( IDENT_6 , condition ) { @ org . ocpsoft . IDENT_0 . config . Override public boolean evaluate ( org . ocpsoft . IDENT_0 . event . IDENT_7 event , org . ocpsoft . IDENT_0 . context . IDENT_8 context ) { return org . ocpsoft . IDENT_0 . config . IDENT_9 . METHOD_4 ( IDENT_6 , condition ) . evaluate ( event , context ) ; } @ org . ocpsoft . IDENT_0 . config . Override public org . ocpsoft . IDENT_0 . config . String toString ( ) { return ( ( IDENT_6 + STRING_2 ) + condition ) + STRING_3 ; } } ; }
org . junit . Assert . assertTrue ( path . and ( header ) . evaluate ( IDENT_0 , context ) )