Esempio 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(() => usageTracker.DeleteAsync(app.Id.ToString(), ct))
            .MustHaveHappened();
        }
Esempio n. 2
0
 public Task DeleteAppAsync(IAppEntity app,
                            CancellationToken ct)
 {
     return(apiUsageTracker.DeleteAsync(app.Id.ToString(), ct));
 }