METHOD_0 ( ) { IDENT_0 . IDENT_1 IDENT_2 = METHOD_1 ( IDENT_0 . IDENT_1 . class ) ; IDENT_0 . IDENT_1 IDENT_3 = METHOD_1 ( IDENT_0 . IDENT_1 . class ) ; IDENT_0 . IDENT_1 IDENT_4 = METHOD_1 ( IDENT_0 . IDENT_1 . class ) ; IDENT_0 . IDENT_1 IDENT_5 = METHOD_1 ( IDENT_0 . IDENT_1 . class ) ; IDENT_0 . IDENT_1 IDENT_6 = METHOD_1 ( IDENT_0 . IDENT_1 . class ) ; org . apache . IDENT_7 . request . IDENT_8 request = METHOD_1 ( org . apache . IDENT_7 . request . IDENT_8 . class ) ; java . util . Map < java . lang . String , java . lang . Object > map = new java . util . HashMap < java . lang . String , java . lang . Object > ( ) ; map . put ( STRING_0 , 1 ) ; replay ( IDENT_2 , IDENT_3 , IDENT_4 , IDENT_5 , IDENT_6 , request ) ; org . apache . IDENT_7 . IDENT_0 . IDENT_9 < org . apache . IDENT_7 . request . IDENT_8 > factory = new org . apache . IDENT_7 . IDENT_0 . METHOD_2 ( IDENT_2 , IDENT_3 , IDENT_4 , IDENT_5 ) ; "<AssertPlaceHolder>" ; verify ( IDENT_2 , IDENT_3 , IDENT_4 , IDENT_5 , IDENT_6 , request ) ; } METHOD_3 ( java . lang . String , org . apache . IDENT_7 . request . IDENT_8 ) { IDENT_0 . IDENT_1 IDENT_10 ; if ( IDENT_11 . METHOD_4 ( STRING_1 ) ) { java . lang . String IDENT_12 = IDENT_11 . substring ( 0 , ( ( IDENT_11 . length ( ) ) - ( IDENT_13 . IDENT_14 ) ) ) ; if ( ( request . METHOD_5 ( IDENT_12 ) ) != null ) { return IDENT_15 ; } } if ( IDENT_16 . METHOD_6 ( org . apache . IDENT_7 . request . IDENT_8 . class ) . containsKey ( IDENT_11 ) ) { IDENT_10 = IDENT_2 ; } else if ( IDENT_16 . METHOD_6 ( org . apache . IDENT_7 . request . IDENT_17 . class ) . containsKey ( IDENT_11 ) ) { IDENT_10 = IDENT_3 ; } else { return IDENT_18 ; } return IDENT_10 ; }
org . junit . Assert . assertEquals ( IDENT_4 , factory . METHOD_3 ( STRING_0 , request ) )