METHOD_0 ( ) { org . apache . avro . Schema schema = new org . apache . avro . Schema . METHOD_1 ( ) . parse ( com . google . common . io . IDENT_0 . getResource ( STRING_0 5 ) . METHOD_2 ( ) ) ; java . io . File IDENT_1 = java . io . File . METHOD_3 ( getClass ( ) . METHOD_4 ( ) , STRING_1 ) ; IDENT_1 . METHOD_5 ( ) ; IDENT_1 . delete ( ) ; org . apache . hadoop . fs . Path file = new org . apache . hadoop . fs . Path ( IDENT_1 . getPath ( ) ) ; org . apache . avro . IDENT_2 . IDENT_3 . IDENT_4 IDENT_5 = new org . apache . avro . IDENT_2 . METHOD_6 ( schema . METHOD_7 ( STRING_2 ) . schema ( ) ) . set ( STRING_0 2 , 1 ) . build ( ) ; java . util . List < java . lang . Integer > IDENT_6 = java . util . Arrays . asList ( 1 , 2 , 3 ) ; org . apache . avro . IDENT_2 . IDENT_3 . IDENT_7 < java . lang . Integer > IDENT_8 = new org . apache . avro . IDENT_2 . IDENT_3 . IDENT_7 < java . lang . Integer > ( org . apache . avro . Schema . METHOD_8 ( org . apache . avro . Schema . create ( Schema . Type . IDENT_9 ) ) , IDENT_6 ) ; org . apache . avro . IDENT_2 . IDENT_10 IDENT_11 = new org . apache . avro . IDENT_2 . IDENT_3 . METHOD_9 ( org . apache . avro . Schema . METHOD_10 ( STRING_3 4 , null , null , 1 ) , new byte [ ] { ( ( byte ) ( INT_0 ) ) } ) ; java . util . List < java . lang . Integer > IDENT_12 = new java . util . ArrayList < java . lang . Integer > ( ) ; com . google . common . collect . ImmutableMap IDENT_13 = new ImmutableMap . Builder < java . lang . String , java . lang . Integer > ( ) . build ( ) ; org . apache . avro . Schema IDENT_14 = org . apache . avro . Schema . METHOD_8 ( org . apache . IDENT_15 . avro . IDENT_16 . METHOD_11 ( org . apache . avro . Schema . create ( Schema . Type . IDENT_9 ) ) ) ; org . apache . avro . IDENT_2 . IDENT_3 . IDENT_7 < java . lang . Integer > IDENT_17 = new org . apache . avro . IDENT_2 . IDENT_3 . IDENT_7 < java . lang . Integer > ( IDENT_14 , java . util . Arrays . asList ( 1 , null , 2 , null , 3 ) ) ; org . apache . avro . IDENT_2 . IDENT_3 . IDENT_4 record = new org . apache . avro . IDENT_2 . METHOD_6 ( schema ) . set ( STRING_4 , null ) . set ( STRING_0 9 , true ) . set ( STRING_3 3 , 1 ) . set ( STRING_0 0 , INT_1 ) . set ( STRING_3 0 , FLOAT_0 ) . set ( STRING_0 3 , FLOAT_1 ) . set ( STRING_3 2 , java . nio . ByteBuffer . METHOD_12 ( STRING_0 FLOAT_2 getBytes ( IDENT_18 . UTF_8 ) ) ) . set ( STRING_5 , STRING_0 8 ) . set ( STRING_2 , IDENT_5 ) . set ( STRING_0 , STRING_0 1 ) . set ( STRING_6 , IDENT_8 ) . set ( STRING_7 , IDENT_12 ) . set ( STRING_3 , IDENT_8 ) . set ( STRING_8 , IDENT_17 ) . set ( STRING_3 1 , com . google . common . collect . ImmutableMap . of ( STRING_0 1 , 1 , "b" , 2 ) ) . set ( STRING_0 7 , IDENT_13 ) . set ( STRING_3 6 , IDENT_11 ) . build ( ) ; final org . apache . IDENT_15 . avro . IDENT_19 < org . apache . avro . IDENT_2 . IDENT_20 > writer = new org . apache . IDENT_15 . avro . IDENT_19 < org . apache . avro . IDENT_2 . IDENT_20 > ( file , schema ) ; try { writer . write ( record ) ; org . junit . Assert . fail ( STRING_0 6 ) ; } catch ( java . lang . Exception e ) { "<AssertPlaceHolder>" ; } finally { writer . close ( ) ; } } fail ( java . lang . String ) { messages . add ( message ) ; IDENT_21 = false ; }
org . junit . Assert . assertTrue ( STRING_0 4 , e . getMessage ( ) . contains ( STRING_3 5 ) )