METHOD_0 ( ) { long IDENT_0 = INT_0 ; org . apache . beam . runners . IDENT_1 . IDENT_2 . IDENT_3 . IDENT_4 state = new org . apache . beam . runners . IDENT_1 . IDENT_2 . IDENT_3 . METHOD_1 ( org . apache . beam . runners . IDENT_1 . IDENT_2 . IDENT_5 . METHOD_2 ( ) , STRING_0 , null , org . apache . beam . runners . IDENT_1 . IDENT_2 . IDENT_6 . IDENT_7 . IDENT_8 . IDENT_9 , null ) ; java . util . concurrent . IDENT_10 executor = java . util . concurrent . IDENT_11 . METHOD_3 ( 2 ) ; java . util . concurrent . atomic . IDENT_12 IDENT_13 = new java . util . concurrent . atomic . METHOD_4 ( false ) ; java . util . concurrent . IDENT_14 < java . lang . Long > reader = ( ) -> { long count = 0 ; boolean IDENT_15 ; do { IDENT_15 = IDENT_13 . get ( ) ; com . google . api . services . IDENT_1 . model . IDENT_16 update = state . METHOD_5 ( false ) ; if ( update != null ) { count += METHOD_6 ( update . METHOD_7 ( ) ) ; } } while ( ! IDENT_15 ) ; return count ; } ; java . lang . IDENT_17 writer = ( ) -> { for ( int i = 0 ; i < IDENT_0 ; i ++ ) { state . METHOD_8 ( 1L ) ; } IDENT_13 . set ( true ) ; } ; java . util . List < java . util . concurrent . IDENT_18 < java . lang . Long > > results = executor . METHOD_9 ( org . apache . beam . IDENT_19 . IDENT_20 . IDENT_21 . com . google . common . collect . Lists . newArrayList ( reader , java . util . concurrent . IDENT_11 . METHOD_10 ( writer , 0L ) ) , 2 , TimeUnit . IDENT_22 ) ; long count = results . get ( 0 ) . get ( ) ; "<AssertPlaceHolder>" ; } equalTo ( T extends java . io . IDENT_23 ) { return org . apache . beam . sdk . testing . IDENT_24 . METHOD_11 ( ( ) -> org . hamcrest . Matchers . equalTo ( expected ) ) ; }
org . junit . Assert . assertThat ( count , org . hamcrest . Matchers . equalTo ( IDENT_0 ) )