Beispiel #1
0
    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);
    }
Beispiel #2
0
        public static void Main(string[] args)
        {
            var test = new GetSchemaSample();

            test.GetSchema();
        }