2023-04-19 12:14:14 +02:00
|
|
|
using TINK.Repository;
|
2021-11-14 23:27:29 +01:00
|
|
|
|
|
|
|
namespace TestFramework.Repository
|
|
|
|
{
|
2022-09-06 16:08:19 +02:00
|
|
|
/// <summary>
|
|
|
|
/// Holds some COPRI responses for testing purposes.
|
|
|
|
/// </summary>
|
2023-04-19 12:14:14 +02:00
|
|
|
/// <remarks> Holds some demo Mein konrad and LastenradBayern bikes
|
2022-09-06 16:08:19 +02:00
|
|
|
/// </remarks>
|
|
|
|
public class CopriCallsMemory001 : CopriCallMemoryBase, ICopriServer
|
|
|
|
{
|
2023-04-19 12:14:14 +02:00
|
|
|
/// <param name="sessionCookie">Session cookie.</param>
|
|
|
|
/// <param name="merchantId">Merchant identifier.</param>
|
|
|
|
public CopriCallsMemory001(string sessionCookie = null, string merchantId = null) : base(
|
2022-09-06 16:08:19 +02:00
|
|
|
bikesAvailableResponseResource: "TestFramework.Repository.CopriCallsMemory001.BikesAvailableResponse.json",
|
|
|
|
bikesOccupiedResponseResoure: "TestFramework.Repository.CopriCallsMemory001.BikesOccupiedResponse.json",
|
|
|
|
authResponseResource: "TestFramework.Repository.CopriCallsMemory001.AuthorizationResponse.json",
|
|
|
|
authOutResponseResource: "TestFramework.Repository.CopriCallsMemory001.AuthoutResponse.json",
|
|
|
|
stationsResponseResource: "TestFramework.Repository.CopriCallsMemory001.StationsAvailable.json",
|
2023-04-19 12:14:14 +02:00
|
|
|
sessionCookie: sessionCookie,
|
|
|
|
merchantId: merchantId)
|
2022-09-06 16:08:19 +02:00
|
|
|
{ }
|
|
|
|
}
|
2023-04-19 12:14:14 +02:00
|
|
|
}
|