METHOD_0 ( ) { consumer = new org . apache . kafka . IDENT_0 . consumer . IDENT_1 < java . lang . String , java . lang . String > ( IDENT_2 , new org . apache . IDENT_3 . kafka . IDENT_4 . METHOD_1 ( ) , new org . apache . IDENT_3 . kafka . IDENT_4 . METHOD_1 ( ) ) ; int IDENT_5 = 10 ; int IDENT_6 = 100 ; int IDENT_7 = 50 ; org . apache . IDENT_3 . kafka . IDENT_4 . METHOD_2 ( props , IDENT_8 , STRING_0 , IDENT_5 , IDENT_6 ) ; java . util . Map < org . apache . kafka . common . IDENT_9 , org . apache . IDENT_3 . IDENT_10 < java . lang . Long , java . lang . Long > > IDENT_11 = new java . util . HashMap ( ) ; IDENT_12 = org . apache . IDENT_3 . kafka . IDENT_13 . METHOD_3 ( props , IDENT_8 ) ; for ( Map . Entry < org . apache . kafka . common . IDENT_9 , java . lang . Long > entry : IDENT_12 . entrySet ( ) ) { IDENT_11 . put ( entry . getKey ( ) , org . apache . IDENT_3 . IDENT_10 . of ( entry . getValue ( ) , ( ( entry . getValue ( ) ) + IDENT_7 ) ) ) ; } java . lang . IDENT_14 < org . apache . IDENT_3 . IDENT_10 < java . lang . String , java . lang . String > > data = new org . apache . IDENT_3 . kafka . METHOD_4 ( consumer , IDENT_11 , new java . util . Properties ( ) ) ; int count = 0 ; for ( org . apache . IDENT_3 . IDENT_10 < java . lang . String , java . lang . String > event : data ) { count ++ ; } "<AssertPlaceHolder>" ; } size ( ) { return 3 ; }
org . junit . Assert . assertThat ( count , org . hamcrest . core . Is . is ( ( ( IDENT_12 . size ( ) ) * IDENT_7 ) ) )