METHOD_0 ( ) { long expected = INT_0 ; when ( IDENT_0 . METHOD_1 ( METHOD_2 ( ) , eq ( STRING_0 ) ) ) . thenReturn ( expected ) ; long actual = METHOD_3 ( true ) . METHOD_1 ( STRING_0 ) ; "<AssertPlaceHolder>" ; verify ( IDENT_0 ) . METHOD_1 ( METHOD_2 ( ) , eq ( STRING_0 ) ) ; METHOD_4 ( IDENT_0 ) ; } METHOD_1 ( java . lang . String , java . lang . String ) { METHOD_5 ( IDENT_1 , STRING_1 ) ; try { java . net . URI uri = IDENT_2 . METHOD_6 ( ) . METHOD_7 ( IDENT_1 , STRING_2 ) . METHOD_8 ( STRING_3 , IDENT_3 ) . build ( ) ; return IDENT_4 . resource ( uri ) . accept ( IDENT_5 . IDENT_6 ) . header ( IDENT_7 . IDENT_8 , IDENT_9 ) . get ( com . IDENT_10 . IDENT_11 . IDENT_12 . client . Long . class ) ; } catch ( com . IDENT_10 . IDENT_11 . client . IDENT_13 e ) { throw METHOD_9 ( e ) ; } }
org . junit . Assert . assertEquals ( actual , expected )