public async void DeleteByIdAsyncShouldDeleteCorrectDashboard() { var options = OverwatchOptionBuilder.CreateBuilderWithName("OverwatchDbDeleteDashboardByIdAsync"); using (var overwatchContext = new OverwatchContext(options)) { var dashboardRepository = new DashboardRepository(overwatchContext); Dashboard dashboardToDelete = _dashboards.First(); await dashboardRepository.AddAsync(dashboardToDelete); var result = await dashboardRepository.DeleteByIdAsync(dashboardToDelete.Id); Assert.Equal(1, result); } }