METHOD_0 ( ) { java . util . Map < java . lang . String , java . lang . String > map = new java . util . HashMap ( ) ; map . put ( Constants . IDENT_0 , org . apache . IDENT_1 . event . IDENT_2 . class . getName ( ) ) ; org . apache . IDENT_1 . configuration . IDENT_3 factory = new org . apache . IDENT_1 . configuration . METHOD_1 ( ) { public org . apache . IDENT_1 . IDENT_4 METHOD_2 ( org . apache . IDENT_1 . IDENT_5 parent ) { return null ; } public org . apache . IDENT_1 . IDENT_4 METHOD_2 ( ) { return null ; } } ; org . apache . IDENT_1 . remote . IDENT_6 . service . IDENT_7 service = new org . apache . IDENT_1 . remote . IDENT_6 . service . METHOD_3 ( factory , map ) ; com . IDENT_8 . mock . web . IDENT_9 request = new com . IDENT_8 . mock . web . METHOD_4 ( ) ; javax . servlet . http . IDENT_10 session = new com . IDENT_8 . mock . web . METHOD_5 ( ) ; request . METHOD_6 ( session ) ; request . METHOD_7 ( ) ; try { com . IDENT_11 . services . server . IDENT_12 . METHOD_8 ( request , null , null , null ) ; "<AssertPlaceHolder>" ; } finally { com . IDENT_11 . services . server . IDENT_12 . end ( ) ; } } METHOD_7 ( boolean ) { javax . servlet . http . IDENT_13 request = ( ( javax . servlet . http . IDENT_13 ) ( com . IDENT_11 . services . server . IDENT_12 . METHOD_9 ( ) ) ) ; if ( request == null ) { throw new java . lang . IllegalStateException ( STRING_0 ) ; } return request . METHOD_7 ( create ) ; }
org . junit . Assert . assertSame ( session , service . METHOD_7 ( false ) )