static void Main(string[] args) { var clientStabA = new PlatformClientStub(new System.Net.CookieContainer()); clientStabA.AtValue = "initDt_AtValue"; clientStabA.EjxValue = "initDt_EjxValue"; clientStabA.PvtValue = "initDt_PvtValue"; var apiWrapper = new ApiWrapperWithLogger(); var api = new DefaultAccessor(apiWrapper); var hmInit = api.GetInitDataAsync(clientStabA).Result; }
public async Task GetInitDataAsyncTest() { var target = new DefaultAccessor(new ApiWrapperStub()); var res = await target.GetInitDataAsync(clientStabA); Assert.Fail(); }