コード例 #1
0
        public void TestToString()
        {
            var requestInfoString = string.Format("{0}-{1}", SessionId, RequestId);
            var requestInfo = new RequestInfo(SessionId, RequestId);

            Assert.Equal(requestInfoString, requestInfo.ToString());
        }
コード例 #2
0
        public void TestBasic()
        {
            var requestInfo = new RequestInfo(SessionId, RequestId);

            Assert.Equal(SessionId, requestInfo.SessionId);
            Assert.Equal(RequestId, requestInfo.RequestId);
        }
コード例 #3
0
 public void TestToStringNullSessionId()
 {
     var requestInfo = new RequestInfo(null, RequestId);
     Assert.Equal(RequestId, requestInfo.ToString());
 }