METHOD_0 ( ) { com . google . cloud . IDENT_0 . storage . IDENT_1 . IDENT_2 . IDENT_3 IDENT_4 = com . google . cloud . IDENT_0 . storage . IDENT_1 . IDENT_2 . IDENT_3 . METHOD_1 ( ) . setName ( STRING_0 ) . METHOD_2 ( com . google . cloud . IDENT_0 . storage . IDENT_1 . IDENT_5 . IDENT_6 . METHOD_1 ( ) . METHOD_3 ( org . apache . beam . sdk . io . IDENT_7 . IDENT_0 . IDENT_8 . IDENT_9 ) ) . build ( ) ; com . google . cloud . IDENT_0 . storage . IDENT_1 . IDENT_2 . IDENT_10 stream = com . google . cloud . IDENT_0 . storage . IDENT_1 . IDENT_2 . IDENT_10 . METHOD_1 ( ) . setName ( STRING_1 ) . build ( ) ; com . google . cloud . IDENT_0 . storage . IDENT_1 . IDENT_2 . IDENT_11 IDENT_12 = com . google . cloud . IDENT_0 . storage . IDENT_1 . IDENT_2 . IDENT_11 . METHOD_1 ( ) . METHOD_4 ( com . google . cloud . IDENT_0 . storage . IDENT_1 . IDENT_2 . IDENT_13 . METHOD_1 ( ) . METHOD_5 ( stream ) ) . build ( ) ; java . util . List < org . apache . avro . IDENT_14 . IDENT_15 > records = org . apache . beam . IDENT_16 . IDENT_17 . IDENT_18 . com . google . common . collect . Lists . newArrayList ( org . apache . beam . sdk . io . IDENT_7 . IDENT_0 . IDENT_8 . METHOD_6 ( STRING_2 , 1 , org . apache . beam . sdk . io . IDENT_7 . IDENT_0 . IDENT_8 . IDENT_19 ) , org . apache . beam . sdk . io . IDENT_7 . IDENT_0 . IDENT_8 . METHOD_6 ( STRING_3 , 2 , org . apache . beam . sdk . io . IDENT_7 . IDENT_0 . IDENT_8 . IDENT_19 ) , org . apache . beam . sdk . io . IDENT_7 . IDENT_0 . IDENT_8 . METHOD_6 ( STRING_4 , 3 , org . apache . beam . sdk . io . IDENT_7 . IDENT_0 . IDENT_8 . IDENT_19 ) ) ; java . util . List < com . google . cloud . IDENT_0 . storage . IDENT_1 . IDENT_2 . IDENT_20 > IDENT_21 = org . apache . beam . IDENT_16 . IDENT_17 . IDENT_18 . com . google . common . collect . Lists . newArrayList ( org . apache . beam . sdk . io . IDENT_7 . IDENT_0 . IDENT_8 . METHOD_7 ( org . apache . beam . sdk . io . IDENT_7 . IDENT_0 . IDENT_8 . IDENT_19 , records . METHOD_8 ( 0 , 2 ) ) , org . apache . beam . sdk . io . IDENT_7 . IDENT_0 . IDENT_8 . METHOD_7 ( org . apache . beam . sdk . io . IDENT_7 . IDENT_0 . IDENT_8 . IDENT_19 , records . METHOD_8 ( 2 , 3 ) ) ) ; org . apache . beam . sdk . io . IDENT_7 . IDENT_0 . IDENT_22 . IDENT_23 IDENT_24 = mock ( org . apache . beam . sdk . io . IDENT_7 . IDENT_0 . IDENT_22 . IDENT_23 . class ) ; when ( IDENT_24 . METHOD_9 ( IDENT_12 ) ) . thenReturn ( IDENT_21 ) ; org . apache . beam . sdk . io . IDENT_7 . IDENT_0 . IDENT_25 < com . google . api . services . IDENT_0 . model . IDENT_26 > IDENT_27 = org . apache . beam . sdk . io . IDENT_7 . IDENT_0 . IDENT_25 . create ( IDENT_4 , stream , org . apache . beam . sdk . io . IDENT_7 . IDENT_0 . IDENT_8 . IDENT_28 , new org . apache . beam . sdk . io . IDENT_7 . IDENT_0 . IDENT_29 . METHOD_10 ( ) , org . apache . beam . sdk . io . IDENT_7 . IDENT_0 . IDENT_30 . of ( ) , new org . apache . beam . sdk . io . IDENT_7 . IDENT_0 . METHOD_11 ( ) . METHOD_12 ( IDENT_24 ) ) ; java . util . List < com . google . api . services . IDENT_0 . model . IDENT_26 > IDENT_31 = new java . util . ArrayList ( ) ; org . apache . beam . sdk . io . IDENT_32 . IDENT_33 < com . google . api . services . IDENT_0 . model . IDENT_26 > reader = IDENT_27 . METHOD_13 ( options ) ; for ( boolean hasNext = reader . start ( ) ; hasNext ; hasNext = reader . METHOD_14 ( ) ) { IDENT_31 . add ( reader . METHOD_15 ( ) ) ; } System . out . println ( ( STRING_5 + IDENT_31 ) ) ; "<AssertPlaceHolder>" ; } size ( ) { return size ; }
org . junit . Assert . assertEquals ( 3 , IDENT_31 . size ( ) )