sharee.bike-App/SharedBusinessLogic.Tests.Framework/Repository/CopriCallsMemory001.cs
2024-04-09 12:53:23 +02:00

24 lines
1.2 KiB
C#

using ShareeBike.Repository;
namespace SharedBusinessLogic.Tests.Framework.Repository
{
/// <summary>
/// Holds some COPRI responses for testing purposes.
/// </summary>
/// <remarks> Holds some demo LastenradBayern bikes
/// </remarks>
public class CopriCallsMemory001 : CopriCallMemoryBase, ICopriServer
{
/// <param name="sessionCookie">Session cookie.</param>
/// <param name="merchantId">Merchant identifier.</param>
public CopriCallsMemory001(string sessionCookie = null, string merchantId = null) : base(
bikesAvailableResponseResource: "SharedBusinessLogic.Tests.Framework.Repository.CopriCallsMemory001.BikesAvailableResponse.json",
bikesOccupiedResponseResoure: "SharedBusinessLogic.Tests.Framework.Repository.CopriCallsMemory001.BikesOccupiedResponse.json",
authResponseResource: "SharedBusinessLogic.Tests.Framework.Repository.CopriCallsMemory001.AuthorizationResponse.json",
authOutResponseResource: "SharedBusinessLogic.Tests.Framework.Repository.CopriCallsMemory001.AuthoutResponse.json",
stationsResponseResource: "SharedBusinessLogic.Tests.Framework.Repository.CopriCallsMemory001.StationsAvailable.json",
sessionCookie: sessionCookie,
merchantId: merchantId)
{ }
}
}