Ejemplo n.º 1
0
        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();
        }
Ejemplo n.º 2
0
 public Task DeleteAppAsync(IAppEntity app,
                            CancellationToken ct)
 {
     return(tagService.ClearAsync(app.Id, TagGroups.Assets));
 }