public async Task SchemaEvents() { var store = await StoreBuilder.New().CreateAsync(); var def = new MySchemaDefinition(); var schema = await store.Schemas.New(def).CreateAsync(); Assert.True(def.IsSchemaLoaded); }
public async Task UnloadSchema() { var store = await StoreBuilder.New().CreateAsync(); var def = new MySchemaDefinition(); var schema = await store.Schemas.New(def).CreateAsync(); Assert.NotNull(schema); store.Schemas.Unload(schema); Assert.Equal(1, store.Schemas.All().Count()); }