protected static CompareEmbeddingDefinitionsForAllTenants WithTenants(Action <TenantConfigBuilder> callback) { var builder = new TenantConfigBuilder(); callback(builder); builder.Build(); return(new CompareEmbeddingDefinitionsForAllTenants(new TenantActionPerformer(tenants, service_providers.Object), get_definitions)); }
protected static PersistEmbeddingDefinitionForAllTenants WithTenants(Action <TenantConfigBuilder> callback) { var builder = new TenantConfigBuilder(); callback(builder); builder.Build(); return(new PersistEmbeddingDefinitionForAllTenants(new TenantActionPerformer(tenants, tenant_service_providers.Object), get_definitions, Mock.Of <ILogger>())); }