public ProProfsAdapterTest() { this.httpHandler = new HttpHandler(); this._mockProProfsSettings = new Mock <IOptions <ProProfsSettings> >(); this._mockProProfsSettings.Setup(x => x.Value).Returns(new ProProfsSettings() { ApplicationKey = "6d6ad80cd8ef81e63cab7c8689334d69", UserName = "******", ProProfsRegisterUrl = "https://www.proprofs.com/api/classroom/v1/user/register/", ProProfsReportUrl = "https://www.proprofs.com/api/classroom/v1/reports/users/" }); this.proProfsProxy = new ProProfsProxy(this._mockProProfsSettings.Object, this.httpHandler); }
public ProProfsAdapter(ProProfsProxy profProfsProxy) { this.profProfsProxy = profProfsProxy; }