Version 3.0.294

This commit is contained in:
Oliver Hauff 2022-04-25 22:15:15 +02:00
parent d92fb4a40f
commit 8f40f2c208
133 changed files with 17890 additions and 14246 deletions

View file

@ -1,5 +1,6 @@
using NUnit.Framework;
using System;
using TINK.Model.Bike;
using TINK.Model.Bike.BluetoothLock;
using TINK.Model.State;
@ -11,12 +12,12 @@ namespace TestTINKLib.Fixtures.ObjectTests.Bike.BluetoothLock
[Test]
public void TestCtorCopyNull()
{
Assert.Throws<System.ArgumentException>(
Assert.Throws<ArgumentException>(
() => new BikeInfo(null, null),
"Verify that no unspecific reference not set to... exception is thrown");
Assert.Throws<System.ArgumentException>(
() => new BikeInfo(new TINK.Model.Bike.BC.BikeInfo("12", "1"), null),
Assert.Throws<ArgumentException>(
() => new BikeInfo(new TINK.Model.Bike.BC.BikeInfo("12", LockModel.ILockIt, "1"), null),
"Verify that no unspecific reference not set to... exception is thrown");
}