METHOD_0 ( ) { org . talend . IDENT_0 . IDENT_1 . common . event . IDENT_2 event = new org . talend . IDENT_0 . IDENT_1 . common . event . METHOD_1 ( ) ; event . METHOD_2 ( "test" ) ; event . METHOD_3 ( IDENT_3 . IDENT_4 ) ; event . METHOD_4 ( ) . put ( STRING_0 , STRING_1 2 ) ; org . talend . IDENT_0 . IDENT_1 . common . event . IDENT_5 IDENT_6 = new org . talend . IDENT_0 . IDENT_1 . common . event . METHOD_5 ( ) ; IDENT_6 . METHOD_6 ( STRING_2 ) ; IDENT_6 . METHOD_7 ( STRING_1 1 ) ; IDENT_6 . METHOD_8 ( STRING_3 ) ; IDENT_6 . METHOD_9 ( STRING_4 ) ; IDENT_6 . METHOD_10 ( STRING_1 3 ) ; event . METHOD_11 ( IDENT_6 ) ; org . talend . IDENT_0 . IDENT_1 . common . filter . impl . IDENT_7 IDENT_8 = new org . talend . IDENT_0 . IDENT_1 . common . filter . impl . METHOD_12 ( ) ; IDENT_8 . METHOD_13 ( STRING_1 0 ) ; "<AssertPlaceHolder>" ; METHOD_14 ( STRING_1 0 , event ) ; METHOD_15 ( STRING_5 , event ) ; METHOD_14 ( STRING_1 , event ) ; METHOD_14 ( STRING_6 , event ) ; METHOD_14 ( STRING_6 , event ) ; METHOD_14 ( STRING_7 , event ) ; METHOD_14 ( STRING_8 , event ) ; } filter ( javax . ws . rs . container . IDENT_9 ) { boolean IDENT_10 = true ; java . lang . String IDENT_11 = IDENT_12 . METHOD_16 ( ) . METHOD_17 ( STRING_9 ) ; if ( ( IDENT_11 != null ) && ( IDENT_11 . startsWith ( STRING_10 ) ) ) { java . lang . String IDENT_13 = IDENT_11 . substring ( STRING_10 . length ( ) ) ; if ( ( IDENT_13 != null ) && ( ! ( IDENT_13 . isEmpty ( ) ) ) ) { java . lang . String IDENT_14 = IDENT_15 . METHOD_18 ( ) ; if ( IDENT_14 == null ) { throw new java . lang . RuntimeException ( STRING_11 ) ; } org . apache . cxf . jaxrs . client . IDENT_16 IDENT_17 = org . talend . IDENT_0 . security . IDENT_18 . org . apache . cxf . jaxrs . client . IDENT_16 . create ( IDENT_14 , java . util . Collections . singletonList ( new org . apache . cxf . jaxrs . provider . json . IDENT_19 < java . lang . String > ( ) ) ) . type ( STRING_12 ) ; javax . ws . rs . core . Response response = IDENT_17 . METHOD_19 ( ( ( STRING_13 + ( java . net . IDENT_20 . encode ( IDENT_13 , STRING_14 ) ) ) + STRING_15 ) ) ; try { java . util . Map < java . lang . String , java . lang . String > map = org . talend . IDENT_0 . security . IDENT_18 . org . talend . IDENT_0 . security . IDENT_18 . IDENT_21 . METHOD_20 ( ( ( java . io . InputStream ) ( response . METHOD_21 ( ) ) ) ) ; java . lang . String IDENT_22 = map . get ( STRING_16 ) ; if ( ( IDENT_22 != null ) && ( IDENT_22 . equalsIgnoreCase ( STRING_17 ) ) ) { IDENT_10 = false ; } } catch ( java . lang . Exception e ) { throw new java . lang . RuntimeException ( e ) ; } } } if ( IDENT_10 ) { javax . ws . rs . core . Response . IDENT_23 builder = javax . ws . rs . core . Response . status ( javax . ws . rs . core . Response . Status . IDENT_24 ) ; builder . header ( javax . ws . rs . core . IDENT_25 . IDENT_26 , STRING_18 ) ; IDENT_12 . METHOD_22 ( builder . build ( ) ) ; } }
org . junit . Assert . assertTrue ( STRING_1 4 , IDENT_8 . filter ( event ) )