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 , java . time . IDENT_5 . METHOD_2 ( 15 ) , INT_0 ) ) . thenReturn ( expected ) ; java . util . List < com . IDENT_0 . IDENT_1 . queue . api . Message > actual = METHOD_3 ( ) . METHOD_1 ( STRING_4 , java . time . IDENT_5 . METHOD_2 ( 15 ) , INT_0 ) ; "<AssertPlaceHolder>" ; verify ( IDENT_2 ) . METHOD_1 ( test . integration . queue . IDENT_3 . IDENT_4 , STRING_4 , java . time . IDENT_5 . METHOD_2 ( 15 ) , INT_0 ) ; METHOD_4 ( IDENT_2 ) ; } METHOD_1 ( java . lang . String , java . lang . String , java . time . IDENT_5 , int ) { METHOD_5 ( IDENT_6 , STRING_5 ) ; METHOD_5 ( IDENT_7 , STRING_6 ) ; java . net . URI uri = METHOD_6 ( IDENT_6 , IDENT_7 , IDENT_8 ) . build ( ) ; com . IDENT_0 . IDENT_1 . client . IDENT_9 response = IDENT_10 . resource ( uri ) . METHOD_7 ( STRING_7 , STRING_8 ) . accept ( IDENT_11 . IDENT_12 ) . header ( IDENT_13 . IDENT_14 , IDENT_15 ) . get ( com . IDENT_0 . IDENT_1 . client . IDENT_9 . class ) ; if ( ( response . getStatus ( ) ) != ( Response . Status . IDENT_16 . getStatusCode ( ) ) ) { throw METHOD_8 ( new com . IDENT_0 . IDENT_1 . client . METHOD_9 ( response ) ) ; } java . util . Iterator < com . IDENT_0 . IDENT_1 . IDENT_17 . api . IDENT_18 > events = response . METHOD_10 ( new com . fasterxml . jackson . core . type . IDENT_19 < java . util . Iterator < com . IDENT_0 . IDENT_1 . IDENT_17 . api . IDENT_18 > > ( ) { } ) ; boolean IDENT_20 ; java . lang . String IDENT_21 = response . METHOD_11 ( com . IDENT_0 . IDENT_1 . IDENT_17 . client . IDENT_22 . IDENT_23 ) ; if ( IDENT_21 != null ) { IDENT_20 = ! ( java . lang . Boolean . METHOD_12 ( IDENT_21 ) ) ; } else { IDENT_20 = events . hasNext ( ) ; } return new com . IDENT_0 . IDENT_1 . IDENT_17 . api . METHOD_13 ( events , IDENT_8 , IDENT_20 ) ; }
org . junit . Assert . assertEquals ( actual , expected )