public async void success_upsert_and_remove() { var store = new InMemoryCustomerManagmentStore(); var customer = CreateRandomCustomer(); await store.UpsertCustomerAsync(customer); var c = await store.GetCustomerAsync(customer.Id); c.Should().NotBeNull(); c.Should().BeSameAs(customer); await store.RemoveCustomerAsync(c.Id); c = await store.GetCustomerAsync(customer.Id); c.Should().BeNull(); }
public async void success_delete_nonexistant_customer() { var store = new InMemoryCustomerManagmentStore(); await store.RemoveCustomerAsync(GuidS); }