sharee.bike-App/TestTINKLib/Mocks/Bike/BikeCollectionMock.cs

27 lines
535 B
C#
Raw Normal View History

2021-07-12 21:31:46 +02:00
using System;
using System.Collections.ObjectModel;
2022-08-30 15:42:25 +02:00
using TINK.Model.Bikes;
2021-07-12 21:31:46 +02:00
2022-08-30 15:42:25 +02:00
using BikeInfoMutable = TINK.Model.Bikes.BikeInfoNS.BC.BikeInfoMutable;
2021-07-12 21:31:46 +02:00
namespace TestTINKLib.Mocks.Bike
{
2022-09-06 16:08:19 +02:00
public class BikeCollectionMock : Collection<BikeInfoMutable>, IBikeDictionaryMutable<BikeInfoMutable>
{
public BikeInfoMutable GetById(string id)
{
return null;
}
2021-07-12 21:31:46 +02:00
2022-09-06 16:08:19 +02:00
public void RemoveById(string id)
{
throw new NotSupportedException();
}
2021-07-12 21:31:46 +02:00
2022-09-06 16:08:19 +02:00
public bool ContainsKey(string id)
{
throw new NotSupportedException();
}
}
2021-07-12 21:31:46 +02:00
}