Files
monorepo/LCU.API.Internal.CoreSoapApiWrapper/LCU.API.Internal.CoreSoapApiWrapperTest/Controllers/StatusControllerTest.cs
T
2026-03-13 12:58:13 -05:00

31 lines
860 B
C#

using System.Web.Http.Results;
using LCU.API.Internal.CoreSoapApiWrapper.Controllers;
using LCU.API.Internal.CoreSoapApiWrapper.Models;
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace LCU.API.Internal.CoreSoapApiWrapperTest.Controllers
{
[TestClass]
public class StatusControllerTest
{
private StatusController _controller;
public StatusControllerTest()
{
_controller = new StatusController();
}
[TestMethod]
public void Get_OK()
{
var result = _controller.Get();
Assert.IsNotNull(result);
var okResult = result as OkNegotiatedContentResult<EnvironmentView>;
Assert.IsNotNull(okResult);
Assert.AreEqual("LCU.API.Internal.CoreSoapApiWrapper", okResult.Content.Application);
}
}
}