2024-06-10 22:06:16 +01:00
|
|
|
using Microsoft.Extensions.Logging.Abstractions;
|
|
|
|
using Overflow.SouthernWater;
|
|
|
|
|
2024-06-08 18:03:11 +01:00
|
|
|
namespace Overflow.Test;
|
|
|
|
|
|
|
|
public class Tests
|
|
|
|
{
|
|
|
|
[SetUp]
|
|
|
|
public void Setup()
|
|
|
|
{
|
|
|
|
}
|
|
|
|
|
|
|
|
[Test]
|
|
|
|
public async Task Test1()
|
|
|
|
{
|
2024-06-10 22:06:16 +01:00
|
|
|
var southern = new SouthernWater.SouthernWaterApi(new HttpClient(), NullLogger<SouthernWaterApi>.Instance);
|
2024-06-08 18:03:11 +01:00
|
|
|
await southern.LoadApiUrl();
|
|
|
|
var spills = await southern.GetSpills();
|
|
|
|
}
|
|
|
|
}
|