METHOD_0 ( ) { final com . spotify . IDENT_0 . IDENT_1 . IDENT_2 group = METHOD_1 ( empty ( ) , empty ( ) , empty ( ) ) ; doReturn ( filter ) . when ( IDENT_3 ) . get ( ) ; doReturn ( other ) . when ( IDENT_4 ) . METHOD_2 ( any ( java . lang . Throwable . class ) ) ; doReturn ( expected ) . when ( IDENT_4 ) . METHOD_3 ( any ( com . spotify . IDENT_0 . IDENT_1 . IDENT_5 . class ) ) ; doReturn ( false ) . when ( filter ) . apply ( IDENT_6 ) ; METHOD_4 ( ) . when ( IDENT_7 ) . METHOD_5 ( ) ; METHOD_4 ( ) . when ( IDENT_7 ) . METHOD_6 ( ) ; doReturn ( other ) . when ( expected ) . METHOD_7 ( any ( eu . IDENT_8 . IDENT_4 . IDENT_9 . class ) ) ; doReturn ( other ) . when ( group ) . METHOD_8 ( request ) ; "<AssertPlaceHolder>" ; verify ( IDENT_4 ) . METHOD_3 ( any ( com . spotify . IDENT_0 . IDENT_1 . IDENT_5 . class ) ) ; verify ( IDENT_4 , METHOD_9 ( ) ) . METHOD_2 ( any ( java . lang . Throwable . class ) ) ; verify ( IDENT_7 , METHOD_9 ( ) ) . METHOD_5 ( ) ; verify ( IDENT_7 , METHOD_9 ( ) ) . METHOD_6 ( ) ; verify ( IDENT_10 , METHOD_9 ( ) ) . METHOD_10 ( ) ; verify ( IDENT_10 , METHOD_9 ( ) ) . METHOD_11 ( ) ; verify ( IDENT_10 ) . METHOD_12 ( ) ; verify ( group , METHOD_9 ( ) ) . METHOD_8 ( request ) ; verify ( other , METHOD_9 ( ) ) . METHOD_7 ( any ( eu . IDENT_8 . IDENT_4 . IDENT_9 . class ) ) ; } METHOD_13 ( com . spotify . IDENT_0 . IDENT_1 . IDENT_11 ) { final io . IDENT_12 . trace . IDENT_13 IDENT_14 = IDENT_15 . METHOD_14 ( STRING_0 ) . METHOD_15 ( ) ; if ( ! ( filter . get ( ) . apply ( request . METHOD_16 ( ) ) ) ) { IDENT_10 . METHOD_12 ( ) ; IDENT_14 . METHOD_17 ( Status . IDENT_16 . METHOD_18 ( STRING_1 ) ) ; IDENT_14 . end ( ) ; return IDENT_4 . METHOD_3 ( com . spotify . IDENT_0 . IDENT_1 . IDENT_5 . of ( com . google . common . collect . ImmutableList . of ( ) ) ) ; } try { IDENT_14 . METHOD_19 ( STRING_2 ) ; IDENT_7 . METHOD_5 ( ) ; } catch ( final java . lang . IDENT_17 e ) { java . lang . String error = STRING_3 ; IDENT_14 . METHOD_17 ( Status . IDENT_18 . METHOD_18 ( error ) ) ; IDENT_14 . end ( ) ; return IDENT_4 . METHOD_2 ( new java . lang . Exception ( error , e ) ) ; } IDENT_14 . METHOD_19 ( STRING_4 ) ; IDENT_10 . METHOD_10 ( ) ; try ( io . IDENT_12 . common . IDENT_19 ws = IDENT_15 . METHOD_20 ( IDENT_14 ) ) { return METHOD_8 ( request ) . METHOD_7 ( ( ) -> { IDENT_7 . METHOD_6 ( ) ; IDENT_10 . METHOD_11 ( ) ; IDENT_14 . end ( ) ; } ) ; } }
org . junit . Assert . assertEquals ( expected , group . METHOD_13 ( request ) )