mirror of
https://dev.azure.com/TeilRad/sharee.bike%20App/_git/Code
synced 2024-11-05 10:36:30 +01:00
33 lines
874 B
C#
33 lines
874 B
C#
using NUnit.Framework;
|
|
using System;
|
|
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"));
|
|
}
|
|
}
|
|
}
|