METHOD_0 ( ) { org . apache . avro . IDENT_0 . IDENT_1 IDENT_2 = new org . apache . avro . IDENT_0 . IDENT_3 . METHOD_1 ( org . apache . IDENT_4 . test . Person . IDENT_5 ) ; IDENT_2 . put ( "name" , STRING_0 ) ; IDENT_2 . put ( STRING_1 , INT_0 ) ; IDENT_2 . put ( STRING_2 , com . google . common . collect . Lists . newArrayList ( STRING_3 , STRING_4 ) ) ; METHOD_2 ( com . google . common . collect . Lists . newArrayList ( IDENT_2 ) , Person . IDENT_6 . ) ; org . apache . IDENT_4 . IDENT_7 pipeline = new org . apache . IDENT_4 . impl . IDENT_8 . METHOD_3 ( org . apache . IDENT_4 . io . IDENT_9 . IDENT_10 . class , IDENT_11 . METHOD_4 ( ) ) ; org . apache . IDENT_4 . IDENT_12 < org . apache . IDENT_4 . test . Person > IDENT_13 = pipeline . read ( org . apache . IDENT_4 . io . IDENT_9 . IDENT_14 . builder ( org . apache . IDENT_4 . test . Person . class ) . METHOD_5 ( STRING_1 ) . METHOD_6 ( org . apache . IDENT_4 . io . IDENT_9 . IDENT_10 . IDENT_15 . class ) . build ( new org . apache . hadoop . fs . Path ( IDENT_16 . getAbsolutePath ( ) ) ) ) ; java . io . File IDENT_17 = IDENT_11 . METHOD_7 ( STRING_5 ) ; org . apache . IDENT_4 . IDENT_18 IDENT_16 = org . apache . IDENT_4 . io . IDENT_19 . METHOD_8 ( IDENT_17 . getAbsolutePath ( ) ) ; IDENT_13 . filter ( new org . apache . IDENT_4 . IDENT_20 < org . apache . IDENT_4 . test . Person > ( ) { @ org . apache . IDENT_4 . io . IDENT_9 . Override public boolean accept ( org . apache . IDENT_4 . test . Person input ) { return input != null ; } } ) . write ( METHOD_8 ) ; pipeline . METHOD_9 ( ) ; org . apache . IDENT_4 . IDENT_7 IDENT_21 = new org . apache . IDENT_4 . impl . IDENT_8 . METHOD_3 ( org . apache . IDENT_4 . io . IDENT_9 . IDENT_10 . class , IDENT_11 . METHOD_4 ( ) ) ; org . apache . IDENT_4 . IDENT_12 < org . apache . IDENT_4 . test . Person > IDENT_22 = IDENT_21 . read ( new org . apache . IDENT_4 . io . avro . IDENT_23 < org . apache . IDENT_4 . test . Person > ( new org . apache . hadoop . fs . Path ( IDENT_17 . getAbsolutePath ( ) ) , org . apache . IDENT_4 . types . avro . IDENT_24 . METHOD_10 ( org . apache . IDENT_4 . test . Person . class ) ) ) ; "<AssertPlaceHolder>" ; } METHOD_11 ( ) { try { IDENT_25 = source . read ( pipeline . METHOD_12 ( ) ) ; } catch ( java . io . IOException e ) { org . apache . IDENT_4 . METHOD_11 . IDENT_26 . LOG . error ( STRING_6 , source , e ) ; throw new org . apache . IDENT_4 . METHOD_13 ( e ) ; } }
org . junit . Assert . assertTrue ( com . google . common . collect . Lists . newArrayList ( IDENT_22 . METHOD_11 ( ) ) . isEmpty ( ) )