public async Task Test_DatabaseService_Add_And_Remove_BafuSurfspot() { // Arrange var bafuSurfSpot = new BafuSurfSpot() { Url = "Bafu Test Url", Name = "Bafu Test Name", Outflow = 250 }; var dbService = new DatabaseService(); // Act await dbService.AddBafuSurfSpotAsync(bafuSurfSpot); var allBafuSurfSpots = await dbService.GetAllBafuSurfSpotsAsync(); // Assert allBafuSurfSpots.Any(s => s.Url == bafuSurfSpot.Url).Should().BeTrue(); // Act await dbService.RemoveBafuSurfSpotAsync(bafuSurfSpot); allBafuSurfSpots = await dbService.GetAllBafuSurfSpotsAsync(); // Assert allBafuSurfSpots.Any(s => s.Url == bafuSurfSpot.Url).Should().BeFalse(); }