예제 #1
0
        public async Task NoEvents_ShouldReturnEmptyList()
        {
            await _useCase.Execute();

            Assert.Empty(_context.CalendarEvents);
            Assert.NotNull(_output);
            Assert.Empty(_output.Events);
        }
예제 #2
0
        public async Task <IActionResult> List()
        {
            await _useCase.Execute();

            return(_presenter.ViewModel);
        }