METHOD_0 ( ) { org . apache . avro . IDENT_0 . IDENT_1 record = new org . apache . avro . IDENT_0 . METHOD_1 ( schema ) . set ( STRING_0 , STRING_1 ) . set ( STRING_2 , STRING_3 ) . build ( ) ; java . util . List < java . lang . String > expected = new java . util . ArrayList ( ) ; expected . add ( STRING_1 ) ; writer . METHOD_2 ( ) . IDENT_2 . setValue ( IDENT_3 . IDENT_4 ) ; java . util . List < java . lang . String > actual = writer . METHOD_3 ( record ) ; "<AssertPlaceHolder>" ; } METHOD_3 ( org . apache . avro . IDENT_0 . IDENT_1 ) { java . lang . String [ ] values = new java . lang . String [ IDENT_5 . METHOD_4 ( ) . size ( ) ] ; for ( org . apache . avro . Schema . Field field : IDENT_5 . METHOD_4 ( ) ) { java . lang . Object value = record . get ( field . pos ( ) ) ; values [ field . pos ( ) ] = ( value == null ) ? null : java . lang . String . valueOf ( value ) ; } return values ; }
org . junit . Assert . assertThat ( actual , org . hamcrest . CoreMatchers . is ( expected ) )