METHOD_0 ( ) { for ( byte IDENT_0 : java . util . Arrays . asList ( IDENT_1 . IDENT_2 , IDENT_1 . IDENT_3 ) ) { org . apache . kafka . common . record . IDENT_4 [ ] IDENT_5 = new org . apache . kafka . common . record . IDENT_4 [ ] { new org . apache . kafka . common . record . METHOD_1 ( 1L , "a" . getBytes ( ) , "1" . getBytes ( ) ) , new org . apache . kafka . common . record . METHOD_1 ( INT_0 , "b" . getBytes ( ) , "2" . getBytes ( ) ) , new org . apache . kafka . common . record . METHOD_1 ( INT_1 , STRING_0 . getBytes ( ) , STRING_1 . getBytes ( ) ) } ; org . apache . kafka . common . record . IDENT_6 records = org . apache . kafka . common . record . IDENT_6 . METHOD_2 ( IDENT_0 , 0L , IDENT_7 . IDENT_8 , IDENT_9 . IDENT_10 , IDENT_5 ) ; org . apache . kafka . common . record . IDENT_11 . IDENT_12 batch = new org . apache . kafka . common . record . IDENT_11 . METHOD_3 ( records . buffer ( ) ) ; batch . METHOD_4 ( 0L ) ; long offset = 0L ; for ( org . apache . kafka . common . record . IDENT_13 record : batch ) "<AssertPlaceHolder>" ; } } offset ( ) { return offset ; }
org . junit . Assert . assertEquals ( ( offset ++ ) , record . offset ( ) )