METHOD_0 ( ) { java . lang . String key = STRING_0 ; redis . IDENT_0 . IDENT_1 . IDENT_2 IDENT_1 = org . apache . beam . sdk . io . redis . IDENT_3 . create ( org . apache . beam . sdk . io . redis . IDENT_4 . IDENT_5 , IDENT_6 . METHOD_1 ( ) ) . connect ( ) ; java . util . List < java . lang . String > values = java . util . Arrays . asList ( STRING_1 , "1" , "2" , STRING_2 , "2" , STRING_3 , STRING_1 , STRING_4 ) ; java . util . List < org . apache . beam . sdk . values . IDENT_7 < java . lang . String , java . lang . String > > IDENT_8 = org . apache . beam . IDENT_9 . IDENT_10 . IDENT_11 . com . google . common . collect . Lists . newArrayList ( ) ; for ( java . lang . String value : values ) { IDENT_8 . add ( org . apache . beam . sdk . values . IDENT_7 . of ( key , value ) ) ; } org . apache . beam . sdk . values . IDENT_12 < org . apache . beam . sdk . values . IDENT_7 < java . lang . String , java . lang . String > > write = IDENT_13 . apply ( org . apache . beam . sdk . IDENT_14 . IDENT_15 . of ( IDENT_8 ) ) ; write . apply ( org . apache . beam . sdk . io . redis . IDENT_16 . write ( ) . METHOD_2 ( org . apache . beam . sdk . io . redis . IDENT_4 . IDENT_5 , IDENT_6 . METHOD_1 ( ) ) . METHOD_3 ( Method . IDENT_17 ) ) ; IDENT_13 . run ( ) ; java . util . Set < java . lang . String > expected = org . apache . beam . IDENT_9 . IDENT_10 . IDENT_11 . com . google . common . collect . IDENT_18 . METHOD_4 ( values ) ; java . util . Set < java . lang . String > IDENT_19 = IDENT_1 . METHOD_5 ( key ) ; "<AssertPlaceHolder>" ; } run ( ) { METHOD_6 ( ) ; }
org . junit . Assert . assertEquals ( expected , IDENT_19 )