public async Task Should_remove_events_from_streams() { var app = Mocks.App(NamedId.Of(DomainId.NewGuid(), "my-app")); await sut.DeleteAppAsync(app, ct); A.CallTo(() => usageTracker.DeleteAsync(app.Id.ToString(), ct)) .MustHaveHappened(); }
public Task DeleteAppAsync(IAppEntity app, CancellationToken ct) { return(apiUsageTracker.DeleteAsync(app.Id.ToString(), ct)); }