DD.WellWorkover.Cloud/AsbCloudWebApi.Tests/ControllersTests/TelemetryDataSaubControllerTests.cs

36 lines
1.1 KiB
C#
Raw Normal View History

2022-01-09 11:46:27 +05:00
using AsbCloudApp.Data;
using AsbCloudApp.Services;
using AsbCloudDb.Model;
using AsbCloudWebApi.Controllers;
using AsbCloudWebApi.SignalR;
using Microsoft.AspNetCore.SignalR;
using Microsoft.EntityFrameworkCore;
using Moq;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Xunit;
namespace AsbCloudWebApi.Tests.ControllersTests
{
public class TelemetryDataSaubControllerTests
{
private readonly Mock<ITelemetryService> telemetryService;
private readonly Mock<ITelemetryDataService<TelemetryDataSaubDto>> telemetryDataService;
private readonly Mock<IWellService> wellService;
private readonly Mock<IHubContext<TelemetryHub>> telemetryHubContext;
public TelemetryDataSaubControllerTests()
{
telemetryService = new Mock<ITelemetryService>();
telemetryDataService = new Mock<ITelemetryDataService<TelemetryDataSaubDto>>();
wellService = new Mock<IWellService>();
telemetryHubContext = new Mock<IHubContext<TelemetryHub>>();
}
}
}