mirror of
https://dev.azure.com/TeilRad/sharee.bike%20App/_git/Code
synced 2025-04-21 04:26:29 +02:00
Initial version.
This commit is contained in:
commit
6bab491a21
40 changed files with 1812 additions and 0 deletions
|
@ -0,0 +1,29 @@
|
|||
using NUnit.Framework;
|
||||
using TINK.Model.Bike.BluetoothLock;
|
||||
|
||||
namespace TINK.Services.BluetoothLock.Exception
|
||||
{
|
||||
[TestFixture]
|
||||
public class TestCouldntOpenInconsistentStateExecption
|
||||
{
|
||||
[Test]
|
||||
public void TestCtor_Unknown()
|
||||
{
|
||||
var ex = new CouldntOpenInconsistentStateExecption(LockingState.Unknown);
|
||||
|
||||
Assert.That(
|
||||
ex.Message,
|
||||
Is.EqualTo("Lock reports unknown bold position."));
|
||||
}
|
||||
|
||||
[Test]
|
||||
public void TestCtor_Open()
|
||||
{
|
||||
var ex = new CouldntOpenInconsistentStateExecption(LockingState.Closed);
|
||||
|
||||
Assert.That(
|
||||
ex.Message,
|
||||
Does.Contain("locking state \"Closed\""));
|
||||
}
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue