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

27 lines
612 B
C#
Raw Normal View History

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