using NUnit.Framework; 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(typeof(TestResult), new TestResult(), null).GeneralData, Is.Not.Null); } [Test] public void TestGeneralData() { Assert.That( new Result(typeof(TestResult), new TestResult(), new GeneralData("Hello")).GeneralData.MerchantMessage, Is.EqualTo("Hello")); } } }