METHOD_0 ( ) { IDENT_0 . METHOD_1 ( com . spotify . IDENT_1 . Response . METHOD_2 ( Status . IDENT_2 ) ) ; com . spotify . IDENT_1 . Response < IDENT_3 . IDENT_4 > response = METHOD_3 ( com . spotify . IDENT_1 . route . IDENT_5 . serialize ( serializer ) . apply ( IDENT_6 ) ) ; "<AssertPlaceHolder>" ; verify ( serializer , METHOD_4 ( ) ) . serialize ( any ( com . spotify . IDENT_1 . IDENT_7 . class ) , any ( ) ) ; } apply ( com . spotify . IDENT_1 . request . IDENT_8 ) { return ( request , IDENT_9 , IDENT_10 ) -> { Response < IDENT_3 . IDENT_4 > response = METHOD_5 ( IDENT_10 . invoke ( IDENT_9 ) ) ; Optional < IDENT_3 . IDENT_4 > payload = response . payload ( ) ; if ( payload . METHOD_6 ( ) ) { IDENT_11 . set ( payload . get ( ) . METHOD_7 ( ) ) ; } return ( ) -> request . METHOD_8 ( METHOD_2 ( IDENT_12 ) ) ; } ; }
org . junit . Assert . assertThat ( response . status ( ) , org . hamcrest . CoreMatchers . equalTo ( Status . IDENT_2 ) )