public async Task CreateAsync_given_dto_returns_created_Summary()
        {
            using (var connection = await this.CreateConnectionAsync())
                using (var context = await this.CreateContextAsync(connection))
                {
                    var repository = new SummaryRepository(context);
                    var dto        = this.CreateDummySummaryDTO();

                    var summary = await repository.CreateAsync(dto);

                    Assert.Equal(1, summary.Id);
                    Assert.Equal(42, summary.SessionId);
                }
        }
        public async Task CreateAsync_given_dto_creates_new_Summary()
        {
            using (var connection = await this.CreateConnectionAsync())
                using (var context = await this.CreateContextAsync(connection))
                {
                    var repository = new SummaryRepository(context);
                    var dto        = this.CreateDummySummaryDTO();

                    var summary = await repository.CreateAsync(dto);

                    Assert.Equal(1, summary.Id);

                    var entity = await context.Summaries.FindAsync(1);

                    Assert.Equal(42, entity.SessionId);
                }
        }