METHOD_0 ( ) { final java . util . concurrent . IDENT_0 < com . spotify . google . cloud . IDENT_1 . client . IDENT_2 . IDENT_3 > t = new java . util . concurrent . METHOD_1 ( ) ; IDENT_4 . put ( STRING_0 , t ) ; IDENT_5 = com . spotify . google . cloud . IDENT_1 . client . IDENT_6 . builder ( ) . project ( "test" ) . METHOD_2 ( METHOD_2 ) . METHOD_3 ( 2 ) . METHOD_4 ( com . spotify . google . cloud . METHOD_2 . client . IDENT_7 . METHOD_5 ( 1 ) ) . build ( ) ; final com . spotify . google . cloud . METHOD_2 . client . Message IDENT_8 = com . spotify . google . cloud . METHOD_2 . client . Message . of ( "1" ) ; final com . spotify . google . cloud . METHOD_2 . client . Message IDENT_9 = com . spotify . google . cloud . METHOD_2 . client . Message . of ( "2" ) ; IDENT_5 . METHOD_6 ( STRING_0 , IDENT_8 ) ; java . lang . Thread . sleep ( 1000 ) ; verify ( METHOD_2 , METHOD_7 ( ) ) . METHOD_6 ( anyString ( ) , anyString ( ) , METHOD_8 ( com . spotify . google . cloud . METHOD_2 . client . Message . class ) ) ; IDENT_5 . METHOD_6 ( STRING_0 , IDENT_9 ) ; verify ( METHOD_2 , METHOD_9 ( INT_0 ) ) . METHOD_6 ( anyString ( ) , anyString ( ) , METHOD_8 ( com . spotify . google . cloud . METHOD_2 . client . Message . class ) ) ; final com . spotify . google . cloud . METHOD_2 . client . IDENT_2 . IDENT_3 request = t . METHOD_10 ( ) ; "<AssertPlaceHolder>" ; } METHOD_6 ( java . lang . String , java . lang . String , com . spotify . google . cloud . METHOD_2 . client . Message [ ] ) { return METHOD_6 ( project , IDENT_10 , asList ( messages ) ) ; }
org . junit . Assert . assertThat ( request . messages . size ( ) , org . hamcrest . Matchers . is ( 2 ) )