Exemplo n.º 1
0
        public async Task SchemaExists_EndToEnd()
        {
            var schemaName = GetRandomName;

            var nothingExists = await SchemaClient.SchemaExists("aut");

            nothingExists.Should().BeFalse();

            var somethingDoesNotExist = await SchemaClient.SchemaExists("aut", schemaName);

            somethingDoesNotExist.Should().BeFalse();

            var createresult = await SchemaClient.CreateSchema("aut", AssetLoader.Schema1(schemaName));

            var somethingDefinatelyExist = await SchemaClient.SchemaExists("aut", schemaName);

            somethingDefinatelyExist.Should().BeTrue();

            var deleteresult = await SchemaClient.DeleteSchema("aut", schemaName);
        }