コード例 #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();
        }
コード例 #2
0
 public Task DeleteAppAsync(IAppEntity app,
                            CancellationToken ct)
 {
     return(tagService.ClearAsync(app.Id, TagGroups.Assets));
 }