METHOD_0 ( ) { final com . IDENT_0 . IDENT_1 . streams . catalog . IDENT_2 IDENT_3 = new com . IDENT_0 . IDENT_1 . streams . catalog . METHOD_1 ( ) ; IDENT_3 . setName ( "test" ) ; new IDENT_4 . METHOD_2 ( ) { { IDENT_5 . METHOD_3 ( IDENT_3 ) ; times = 1 ; result = IDENT_3 ; IDENT_6 . METHOD_4 ( ) ; result = javax . ws . rs . core . IDENT_7 . IDENT_8 ; IDENT_6 . METHOD_5 ( com . IDENT_0 . IDENT_1 . streams . catalog . METHOD_1 . class ) ; result = IDENT_3 ; IDENT_9 . METHOD_6 ( IDENT_10 , anyString ) ; result = STRING_0 ; } } ; com . IDENT_0 . IDENT_1 . streams . catalog . METHOD_1 result = ( ( com . IDENT_0 . IDENT_1 . streams . catalog . METHOD_1 ) ( resource . METHOD_7 ( IDENT_10 , IDENT_11 , IDENT_6 , IDENT_12 ) . METHOD_8 ( ) ) ) ; "<AssertPlaceHolder>" ; } METHOD_7 ( java . io . InputStream , org . glassfish . jersey . media . IDENT_13 . IDENT_14 , org . glassfish . jersey . media . IDENT_13 . IDENT_15 , javax . ws . rs . core . IDENT_16 ) { com . IDENT_0 . IDENT_1 . streams . security . IDENT_17 . METHOD_9 ( IDENT_18 , IDENT_12 , IDENT_19 . IDENT_20 ) ; javax . ws . rs . core . IDENT_7 IDENT_21 = IDENT_22 . METHOD_4 ( ) ; com . IDENT_0 . IDENT_1 . streams . service . IDENT_23 . LOG . debug ( STRING_1 , IDENT_21 ) ; if ( ! ( IDENT_21 . equals ( IDENT_7 . IDENT_8 ) ) ) { throw new com . IDENT_0 . IDENT_1 . common . exception . service . exception . request . METHOD_10 ( IDENT_21 . toString ( ) ) ; } com . IDENT_0 . IDENT_1 . streams . catalog . METHOD_1 IDENT_3 = IDENT_22 . METHOD_5 ( com . IDENT_0 . IDENT_1 . streams . catalog . METHOD_1 . class ) ; java . util . Collection < com . IDENT_0 . IDENT_1 . streams . catalog . METHOD_1 > IDENT_24 = null ; IDENT_24 = IDENT_25 . METHOD_11 ( java . util . Collections . singletonList ( new com . IDENT_0 . IDENT_26 . common . METHOD_12 ( com . IDENT_0 . IDENT_1 . streams . catalog . METHOD_1 . IDENT_27 , IDENT_3 . getName ( ) ) ) ) ; if ( ( IDENT_24 != null ) && ( ! ( IDENT_24 . isEmpty ( ) ) ) ) { com . IDENT_0 . IDENT_1 . streams . service . IDENT_23 . LOG . warn ( ( STRING_2 + IDENT_3 ) ) ; return com . IDENT_0 . IDENT_1 . common . util . IDENT_28 . METHOD_13 ( IDENT_3 , Status . IDENT_29 ) ; } java . lang . String IDENT_30 = METHOD_14 ( IDENT_31 , IDENT_3 . getName ( ) ) ; IDENT_3 . METHOD_15 ( IDENT_30 ) ; com . IDENT_0 . IDENT_1 . streams . catalog . METHOD_1 IDENT_32 = IDENT_25 . METHOD_3 ( IDENT_3 ) ; com . IDENT_0 . IDENT_1 . streams . security . IDENT_17 . METHOD_16 ( IDENT_18 , IDENT_12 , METHOD_1 . IDENT_33 , IDENT_32 . getId ( ) , java . util . IDENT_34 . METHOD_17 ( com . IDENT_0 . IDENT_1 . streams . security . IDENT_35 . class ) ) ; return com . IDENT_0 . IDENT_1 . common . util . IDENT_28 . METHOD_13 ( IDENT_32 , Status . IDENT_36 ) ; }
org . junit . Assert . assertEquals ( IDENT_3 , result )