コード例 #1
0
        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;
        }
コード例 #2
0
 public async Task GetInitDataAsyncTest()
 {
     var target = new DefaultAccessor(new ApiWrapperStub());
     var res = await target.GetInitDataAsync(clientStabA);
     Assert.Fail();
 }