METHOD_0 ( ) { METHOD_1 ( STRING_0 , STRING_1 ) ; final com . spotify . IDENT_0 . client . messages . IDENT_1 IDENT_2 = IDENT_3 . METHOD_2 ( ) ; "<AssertPlaceHolder>" ; IDENT_3 . METHOD_3 ( IDENT_2 ) ; final java . lang . String IDENT_4 = STRING_2 ; exception . expect ( com . spotify . IDENT_0 . client . exceptions . IDENT_5 . class ) ; exception . expect ( com . spotify . IDENT_0 . client . IDENT_6 . METHOD_4 ( IDENT_4 ) ) ; IDENT_3 . METHOD_5 ( IDENT_4 ) ; } METHOD_5 ( java . lang . String ) { final javax . ws . rs . client . IDENT_7 resource = resource ( ) . path ( STRING_1 ) . path ( IDENT_8 ) ; try { return request ( javax . ws . rs . IDENT_9 . IDENT_10 , com . spotify . IDENT_0 . client . messages . IDENT_1 . class , resource , resource . request ( com . spotify . IDENT_0 . client . IDENT_11 ) ) ; } catch ( com . spotify . IDENT_0 . client . exceptions . IDENT_12 e ) { switch ( e . status ( ) ) { case INT_0 : throw new com . spotify . IDENT_0 . client . exceptions . METHOD_6 ( IDENT_8 , e ) ; default : throw e ; } } }
org . junit . Assert . assertEquals ( IDENT_2 , IDENT_3 . METHOD_5 ( IDENT_2 . name ( ) ) )