sharee.bike-App/TestTINKLib/Fixtures/ObjectTests/State/TestStateBookedInfo.cs
Anja Müller-Meißner 0468955d49 Version 3.0.338
2022-09-08 09:55:14 +02:00

30 lines
530 B
C#

using System;
using NUnit.Framework;
using TINK.Model.State;
namespace TestTINKLib
{
[TestFixture]
public class TestStateBookedInfo
{
[Test]
public void TestConstruct()
{
var l_oBookedInfo = new StateOccupiedInfo(new DateTime(2017, 09, 20, 23, 05, 0), "Heinz@mueller", "17 xxb");
Assert.AreEqual(
new DateTime(2017, 09, 20, 23, 05, 0),
l_oBookedInfo.From);
Assert.AreEqual(
"Heinz@mueller",
l_oBookedInfo.MailAddress);
Assert.AreEqual(
"17 xxb",
l_oBookedInfo.Code);
}
}
}