コード例 #1
0
        public void HttpIngestionCreateHeaders()
        {
            var headers = _httpIngestion.CreateHeaders(AppSecret, InstallId);

            Assert.IsTrue(headers.ContainsKey(IngestionHttp.AppSecret));
            Assert.IsTrue(headers.ContainsKey(IngestionHttp.InstallId));
        }
コード例 #2
0
        public void IngestionHttpCreateHeaders()
        {
            var appSecret = Guid.NewGuid().ToString();
            var installId = Guid.NewGuid();
            var headers   = _ingestionHttp.CreateHeaders(appSecret, installId);

            Assert.IsTrue(headers.ContainsKey(IngestionHttp.AppSecret));
            Assert.IsTrue(headers.ContainsKey(IngestionHttp.InstallId));
        }