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(() => tagService.ClearAsync(app.Id, TagGroups.Assets)) .MustHaveHappened(); }
public Task DeleteAppAsync(IAppEntity app, CancellationToken ct) { return(tagService.ClearAsync(app.Id, TagGroups.Assets)); }