### Question:
SchemaUtils { public static Schema getAvroSchema(String schemaLocation) { String schemaFile = getGcsFileAsString(schemaLocation); return new Schema.Parser().parse(schemaFile); }  static String getGcsFileAsString(String filePath); static Schema getAvroSchema(String schemaLocation); static final String DEADLETTER_SCHEMA; }### Answer:
@Test public void testGetAvroSchema() { String avroSchema = "{\n" + " \"type\" : \"record\",\n" + " \"name\" : \"test_file\",\n" + " \"namespace\" : \"com.test\",\n" + " \"fields\" : [\n" + " {\n" + " \"name\": \"id\",\n" + " \"type\": \"string\"\n" + " },\n" + " {\n" + " \"name\": \"price\",\n" + " \"type\": \"double\"\n" + " }\n" + " ]\n" + "}"; Schema expectedSchema = new Schema.Parser().parse(avroSchema); Schema actualSchema = SchemaUtils.getAvroSchema(AVRO_SCHEMA_FILE_PATH); assertEquals(expectedSchema, actualSchema); }