sharee.bike-App/TestShareeLib/Services/CopriApi/TestResult.cs
Anja Müller-Meißner 0468955d49 Version 3.0.338
2022-09-08 09:55:14 +02:00

33 lines
688 B
C#

using System;
using NUnit.Framework;
using TINK.Model;
using TINK.Model.Map;
using TINK.Model.Services.CopriApi;
using TINK.Services.CopriApi;
namespace TestShareeLib.Services.CopriApi
{
[TestFixture]
public class TestResult
{
[Test]
public void TestCtor()
{
Assert.That(
new Result<object>(typeof(TestResult), new TestResult(), null).GeneralData,
Is.Not.Null);
}
[Test]
public void TestGeneralData()
{
Assert.That(
new Result<object>(typeof(TestResult), new TestResult(), new GeneralData(
MapSpanFactory.Create(),
"Hello",
new Version(0, 0),
new ResourceUrls())).GeneralData.MerchantMessage,
Is.EqualTo("Hello"));
}
}
}