private RawVerifyService CreateService(IWebRequester webRequester = null) { if (webRequester == null) { webRequester = new FakeWebRequester(); } return new RawVerifyService(this.GetConfiguration(), webRequester); }
private RawPhoneIdService CreateService(IWebRequester webRequester = null) { if (webRequester == null) { webRequester = new FakeWebRequester(); } return(new RawPhoneIdService(this.GetConfiguration(), webRequester)); }
private PhoneIdService CreateService( IWebRequester webRequester = null, IPhoneIdResponseParser responseParser = null) { if (webRequester == null) { webRequester = new FakeWebRequester(); } if (responseParser == null) { responseParser = new FakeResponseParser(); } return(new PhoneIdService( this.GetConfiguration(), webRequester, responseParser)); }
private PhoneIdService CreateService( IWebRequester webRequester = null, IPhoneIdResponseParser responseParser = null) { if (webRequester == null) { webRequester = new FakeWebRequester(); } if (responseParser == null) { responseParser = new FakeResponseParser(); } return new PhoneIdService( this.GetConfiguration(), webRequester, responseParser); }