DD.WellWorkover.Cloud/AsbCloudWebApi.Tests/ServicesTests/WellboreServiceTest.cs
2023-10-23 17:34:47 +05:00

44 lines
1.3 KiB
C#

using AsbCloudApp.Data;
using AsbCloudApp.Data.SAUB;
using AsbCloudApp.Repositories;
using AsbCloudApp.Requests;
using AsbCloudApp.Services;
using AsbCloudInfrastructure.Repository;
using AsbCloudInfrastructure.Services.SAUB;
using NSubstitute;
using Org.BouncyCastle.Asn1.Ocsp;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading;
using System.Threading.Tasks;
using Xunit;
namespace AsbCloudWebApi.Tests.ServicesTests
{
public class WellboreServiceTest
{
public WellboreServiceTest()
{
var wellService = Substitute.For<IWellService>();
wellService.GetAsync(Arg.Any<WellRequest>(), Arg.Any<CancellationToken>())
.Returns(Enumerable.Empty<WellDto>());
var wellOperationRepository = Substitute.For<IWellOperationRepository>();
wellOperationRepository.GetSectionsAsync(Arg.Any<IEnumerable<int>>(), Arg.Any<CancellationToken>())
.Returns(Enumerable.Empty<SectionByOperationsDto>());
var telemetryDataCache = Substitute.For<TelemetryDataCache<TelemetryDataSaubDto>>();
telemetryDataCache.GetOrDefaultFirstLast(Arg.Any<int>());
}
[Fact]
public async Task GetWellboresAsync()
{
}
}
}