METHOD_0 ( ) { org . apache . kafka . common . utils . IDENT_0 time = new org . apache . kafka . common . utils . METHOD_1 ( ) ; org . apache . kafka . IDENT_1 . consumer . IDENT_2 . IDENT_3 IDENT_4 = new org . apache . kafka . IDENT_1 . consumer . IDENT_2 . METHOD_2 ( new org . apache . kafka . common . utils . METHOD_3 ( ) , IDENT_5 . IDENT_6 ) ; org . apache . kafka . IDENT_1 . consumer . IDENT_2 . IDENT_7 metadata = METHOD_4 ( IDENT_4 ) ; org . apache . kafka . IDENT_1 . IDENT_8 client = new org . apache . kafka . IDENT_1 . METHOD_5 ( time , metadata ) ; METHOD_6 ( client , java . util . Collections . METHOD_7 ( IDENT_9 , 1 ) ) ; org . apache . kafka . common . Node node = metadata . METHOD_8 ( ) . nodes ( ) . get ( 0 ) ; org . apache . kafka . IDENT_1 . consumer . IDENT_2 . IDENT_10 IDENT_11 = new org . apache . kafka . IDENT_1 . consumer . METHOD_9 ( ) ; org . apache . kafka . IDENT_1 . consumer . IDENT_12 < java . lang . String , java . lang . String > consumer = METHOD_10 ( time , client , IDENT_4 , metadata , IDENT_11 , true , IDENT_13 ) ; consumer . METHOD_11 ( singletonList ( IDENT_14 ) ) ; client . METHOD_12 ( new org . apache . kafka . common . IDENT_15 . METHOD_13 ( org . apache . kafka . common . protocol . IDENT_16 . IDENT_6 , node ) , node ) ; org . apache . kafka . common . Node IDENT_17 = new org . apache . kafka . common . Node ( ( ( Integer . MAX_VALUE ) - ( node . id ( ) ) ) , node . host ( ) , node . port ( ) ) ; client . METHOD_12 ( METHOD_14 ( java . util . Collections . METHOD_7 ( IDENT_14 , INT_0 ) , IDENT_16 . IDENT_6 ) , IDENT_17 ) ; consumer . METHOD_15 ( IDENT_18 . IDENT_19 ) ; "<AssertPlaceHolder>" ; } position ( org . apache . kafka . common . IDENT_20 ) { METHOD_16 ( ) ; if ( ! ( this . IDENT_21 . METHOD_17 ( IDENT_22 ) ) ) throw new java . lang . IllegalArgumentException ( STRING_0 ) ; org . apache . kafka . IDENT_1 . consumer . IDENT_2 . METHOD_2 . IDENT_23 position = this . IDENT_21 . position ( IDENT_22 ) ; if ( position == null ) { METHOD_18 ( IDENT_22 ) ; position = this . IDENT_21 . position ( IDENT_22 ) ; } return position . offset ; }
org . junit . Assert . assertEquals ( INT_0 , consumer . position ( IDENT_14 ) )