METHOD_0 ( ) { java . util . List < com . IDENT_0 . IDENT_1 . queue . api . Message > expected = com . google . common . collect . ImmutableList . of ( new com . IDENT_0 . IDENT_1 . queue . api . Message ( STRING_0 , STRING_1 ) , new com . IDENT_0 . IDENT_1 . queue . api . Message ( STRING_2 , STRING_3 ) ) ; when ( IDENT_2 . METHOD_1 ( test . integration . queue . IDENT_3 . IDENT_4 , STRING_4 , INT_0 ) ) . thenReturn ( expected ) ; java . util . List < com . IDENT_0 . IDENT_1 . queue . api . Message > actual = METHOD_2 ( ) . METHOD_1 ( STRING_4 , INT_0 ) ; "<AssertPlaceHolder>" ; verify ( IDENT_2 ) . METHOD_1 ( test . integration . queue . IDENT_3 . IDENT_4 , STRING_4 , INT_0 ) ; METHOD_3 ( IDENT_2 ) ; } METHOD_1 ( java . lang . String , java . lang . String , int ) { METHOD_4 ( IDENT_5 , STRING_5 ) ; try { java . net . URI uri = IDENT_6 . METHOD_5 ( ) . METHOD_6 ( IDENT_5 , STRING_6 ) . METHOD_7 ( STRING_7 , IDENT_7 ) . METHOD_7 ( STRING_8 , STRING_9 ) . build ( ) ; return IDENT_8 . resource ( uri ) . accept ( IDENT_9 . IDENT_10 ) . header ( IDENT_11 . IDENT_12 , IDENT_13 ) . get ( new com . fasterxml . jackson . core . type . IDENT_14 < java . util . Iterator < com . IDENT_0 . IDENT_1 . IDENT_15 . api . IDENT_16 > > ( ) { } ) ; } catch ( com . IDENT_0 . IDENT_1 . client . IDENT_17 e ) { throw METHOD_8 ( e ) ; } }
org . junit . Assert . assertEquals ( actual , expected )