public CyberPlatHttpClientTests() { var dummyConf = new CyberPlatHttpClientConfiguration() { CheckUrl = @"http://google.com", PayUrl = @"http://google.com", StatusUrl = @"http://google.com", TimeoutSec = 10, }; m_Client = new CyberPlatHttpClient(m_ManagerMock, dummyConf); }
public CyberPlatGate(ICyberPlatHttpClient client, CyberPlatGateConfiguration configuration) { if (client == null) { throw new ArgumentNullException(nameof(client)); } if (configuration == null) { throw new ArgumentNullException(nameof(configuration)); } m_Client = client; m_Configuration = configuration; }