METHOD_0 ( ) { com . streamsets . pipeline . IDENT_0 . IDENT_1 . hdfs . IDENT_2 IDENT_3 = new com . streamsets . pipeline . IDENT_0 . IDENT_1 . hdfs . IDENT_4 . METHOD_1 ( ) ; METHOD_2 ( IDENT_3 ) ; IDENT_3 . IDENT_5 . IDENT_6 = STRING_0 ; com . streamsets . pipeline . IDENT_0 . IDENT_1 . hdfs . IDENT_7 target = ( ( com . streamsets . pipeline . IDENT_0 . IDENT_1 . hdfs . IDENT_7 ) ( IDENT_3 . METHOD_3 ( ) ) ) ; try { target . init ( null , com . streamsets . pipeline . sdk . IDENT_8 . METHOD_4 ( com . streamsets . pipeline . IDENT_0 . IDENT_1 . hdfs . IDENT_2 . class , STRING_1 , false , IDENT_9 . IDENT_10 , null ) ) ; java . util . Date date = new java . util . Date ( ) ; com . streamsets . pipeline . api . IDENT_11 record = com . streamsets . pipeline . sdk . IDENT_12 . create ( ) ; record . set ( com . streamsets . pipeline . api . Field . METHOD_5 ( date ) ) ; java . lang . Thread . sleep ( 1 ) ; target . write ( ( ( com . streamsets . pipeline . api . IDENT_13 ) ( null ) ) ) ; "<AssertPlaceHolder>" ; } finally { target . METHOD_6 ( ) ; } } METHOD_7 ( com . streamsets . pipeline . api . IDENT_11 ) { com . streamsets . pipeline . api . el . IDENT_14 IDENT_15 = METHOD_8 ( ) . METHOD_9 ( ) ; com . streamsets . pipeline . lib . el . IDENT_16 . METHOD_10 ( IDENT_15 , METHOD_11 ( ) ) ; com . streamsets . pipeline . lib . el . IDENT_17 . METHOD_12 ( IDENT_15 , record ) ; return IDENT_5 . METHOD_13 ( ) . METHOD_14 ( IDENT_15 , IDENT_5 . METHOD_15 ( ) , java . util . Date . class ) ; }
org . junit . Assert . assertEquals ( date , target . METHOD_7 ( record ) )