public void GetSchema() { string schemaId = "testSchemaForGetSchema" + _pubsubFixture.RandomName(); _pubsubFixture.CreateAvroSchema(schemaId); _pubsubFixture.GetSchema(schemaId); var receivedSchema = _getSchemaSample.GetSchema(_pubsubFixture.ProjectId, schemaId); var schema = _pubsubFixture.GetSchema(schemaId); Assert.Equal(receivedSchema, schema); }
public static void Main(string[] args) { var test = new GetSchemaSample(); test.GetSchema(); }