METHOD_0 ( ) { java . lang . String [ ] expected = new java . lang . String [ ] { STRING_0 , STRING_1 } ; java . lang . String [ ] actual = writer . METHOD_1 ( schema ) ; "<AssertPlaceHolder>" ; } METHOD_1 ( org . apache . avro . Schema ) { java . util . List < org . apache . avro . Schema . Field > fields = schema . METHOD_2 ( ) ; java . lang . String [ ] headers = new java . lang . String [ fields . size ( ) ] ; for ( int i = 0 ; i < ( headers . length ) ; i ++ ) { headers [ i ] = fields . get ( i ) . name ( ) ; } return headers ; }
org . junit . Assert . assertArrayEquals ( expected , actual )