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