30 lines
726 B
C#
30 lines
726 B
C#
using FluentAssertions;
|
|
using StellaOps.TestKit.Interop;
|
|
using Xunit;
|
|
|
|
namespace StellaOps.TestKit.Tests;
|
|
|
|
public sealed partial class InteropTests
|
|
{
|
|
[Fact]
|
|
public void ServiceEndpoint_DefaultValues_AreSet()
|
|
{
|
|
var endpoint = new ServiceEndpoint();
|
|
|
|
endpoint.ServiceName.Should().BeEmpty();
|
|
endpoint.Version.Should().BeEmpty();
|
|
endpoint.BaseUrl.Should().BeEmpty();
|
|
endpoint.IsHealthy.Should().BeFalse();
|
|
}
|
|
|
|
[Fact]
|
|
public void CompatibilityResult_DefaultValues_AreSet()
|
|
{
|
|
var result = new CompatibilityResult();
|
|
|
|
result.IsSuccess.Should().BeFalse();
|
|
result.Errors.Should().BeEmpty();
|
|
result.Warnings.Should().BeEmpty();
|
|
}
|
|
}
|