METHOD_0 ( ) { org . apache . beam . sdk . io . IDENT_0 . IDENT_1 . IDENT_2 . IDENT_3 read = org . apache . beam . sdk . io . IDENT_0 . IDENT_1 . IDENT_2 . read ( ) . METHOD_1 ( "test" ) . METHOD_2 ( STRING_0 ) . METHOD_3 ( STRING_1 ) . METHOD_4 ( com . google . cloud . IDENT_4 . now ( ) ) . METHOD_5 ( STRING_2 ) . METHOD_6 ( STRING_3 , "name" ) . METHOD_7 ( STRING_4 ) . METHOD_8 ( IDENT_5 ) ; java . util . List < com . google . cloud . IDENT_1 . IDENT_6 > IDENT_7 = java . util . Arrays . asList ( mock ( com . google . cloud . IDENT_1 . IDENT_6 . class ) , mock ( com . google . cloud . IDENT_1 . IDENT_6 . class ) , mock ( com . google . cloud . IDENT_1 . IDENT_6 . class ) ) ; com . google . cloud . IDENT_1 . IDENT_8 id = new com . google . cloud . IDENT_1 . METHOD_9 ( STRING_5 ) ; org . apache . beam . sdk . io . IDENT_0 . IDENT_1 . IDENT_9 tx = org . apache . beam . sdk . io . IDENT_0 . IDENT_1 . IDENT_9 . create ( id ) ; org . apache . beam . sdk . values . IDENT_10 < org . apache . beam . sdk . io . IDENT_0 . IDENT_1 . IDENT_9 > IDENT_11 = pipeline . apply ( org . apache . beam . sdk . IDENT_12 . IDENT_13 . of ( tx ) ) . apply ( org . apache . beam . sdk . IDENT_12 . IDENT_14 . < org . apache . beam . sdk . io . IDENT_0 . IDENT_1 . IDENT_9 > METHOD_10 ( ) ) ; org . apache . beam . sdk . io . IDENT_0 . IDENT_1 . IDENT_15 . IDENT_16 IDENT_17 = new org . apache . beam . sdk . io . IDENT_0 . IDENT_1 . IDENT_15 . METHOD_11 ( read . METHOD_12 ( ) , IDENT_11 ) ; org . apache . beam . sdk . IDENT_12 . IDENT_18 < org . apache . beam . sdk . io . IDENT_0 . IDENT_1 . IDENT_19 , com . google . cloud . IDENT_1 . IDENT_6 > IDENT_20 = org . apache . beam . sdk . IDENT_12 . IDENT_18 . of ( IDENT_17 ) ; IDENT_20 . METHOD_13 ( IDENT_11 , IDENT_21 . INSTANCE , tx ) ; when ( IDENT_5 . METHOD_14 ( ) . METHOD_15 ( id ) ) . thenReturn ( IDENT_22 ) ; when ( IDENT_22 . METHOD_16 ( any ( com . google . cloud . IDENT_1 . IDENT_23 . class ) , eq ( STRING_2 ) , eq ( STRING_4 ) , eq ( com . google . cloud . IDENT_1 . IDENT_24 . METHOD_17 ( ) ) , eq ( java . util . Arrays . asList ( STRING_3 , "name" ) ) ) ) . thenReturn ( IDENT_7 ) ; java . util . List < com . google . cloud . IDENT_1 . IDENT_6 > result = IDENT_20 . METHOD_18 ( read . METHOD_19 ( ) ) ; "<AssertPlaceHolder>" ; verify ( IDENT_5 . METHOD_14 ( ) ) . METHOD_15 ( id ) ; verify ( IDENT_22 ) . METHOD_16 ( any ( com . google . cloud . IDENT_1 . IDENT_23 . class ) , eq ( STRING_2 ) , eq ( STRING_4 ) , eq ( com . google . cloud . IDENT_1 . IDENT_24 . METHOD_17 ( ) ) , eq ( java . util . Arrays . asList ( STRING_3 , "name" ) ) ) ; } METHOD_20 ( java . util . Collection ) { @ org . apache . beam . sdk . testing . METHOD_21 ( { STRING_6 , STRING_7 } ) final java . util . Collection < org . hamcrest . IDENT_25 < ? super T > > matchers = ( ( java . util . Collection ) ( IDENT_26 ) ) ; return org . apache . beam . sdk . testing . IDENT_27 . METHOD_22 ( ( ) -> org . hamcrest . Matchers . METHOD_20 ( matchers ) ) ; }
org . junit . Assert . assertThat ( result , org . hamcrest . Matchers . METHOD_20 ( IDENT_7 . toArray ( ) ) )