public async Task Should_return_schema_from_name_if_string_not_guid() { SetupSchema(); var result = await sut.GetSchemaAsync(context.WithSchemaName(schemaName)); Assert.Equal(schema, result); }
public async Task Should_return_schema_from_name_if_string_not_guid() { A.CallTo(() => appProvider.GetSchemaAsync(appId, "my-schema")) .Returns(schema); var result = await sut.GetSchemaAsync(context.WithSchemaName("my-schema")); Assert.Equal(schema, result); }