2021-05-13 20:09:46 +02:00
|
|
|
|
using NUnit.Framework;
|
2024-04-09 12:53:23 +02:00
|
|
|
|
using ShareeBike.Model.Bikes;
|
2021-05-13 20:09:46 +02:00
|
|
|
|
|
|
|
|
|
|
2024-04-09 12:53:23 +02:00
|
|
|
|
namespace SharedBusinessLogic.Tests
|
2021-05-13 20:09:46 +02:00
|
|
|
|
{
|
2022-08-30 15:42:25 +02:00
|
|
|
|
|
2022-09-06 16:08:19 +02:00
|
|
|
|
[TestFixture]
|
|
|
|
|
public class TestBikeCollection
|
|
|
|
|
{
|
|
|
|
|
/// <summary> Tests the member.</summary>
|
|
|
|
|
[Test]
|
|
|
|
|
public void TestConstruct()
|
|
|
|
|
{
|
|
|
|
|
var l_oColl = new BikeCollection();
|
2021-05-13 20:09:46 +02:00
|
|
|
|
|
2024-04-09 12:53:23 +02:00
|
|
|
|
Assert.That(l_oColl.Count, Is.EqualTo(0));
|
|
|
|
|
Assert.That(l_oColl.GetById("1"), Is.Null);
|
2022-09-06 16:08:19 +02:00
|
|
|
|
}
|
|
|
|
|
}
|
2021-05-13 20:09:46 +02:00
|
|
|
|
}
|