public async Task DeleteUsersSampleAsync_ShouldReturnUsersSample2BDeleted() { //arrange int id = 2; ProjectDBContext projectDBContext = new ProjectDBContext(options); ProjectRepoDB projectRepoDB = new ProjectRepoDB(projectDBContext); var usersSample2BDeleted = projectDBContext.UsersSample.Where(i => i.Id == id).FirstOrDefault(); //act var result = await projectRepoDB.DeleteUsersSampleAsync(usersSample2BDeleted); //assert Assert.Equal(2, result.SampleId); }