예제 #1
0
        public void ShouldConstructWithCorrectUri(string url)
        {
            var expected = new Uri(url);
            var response = new SdkInitResponse(0, expected);

            Assert.AreEqual(expected, response.Uri);
        }
예제 #2
0
        public void ShouldConstructWithCorrectSession(int session)
        {
            var response = new SdkInitResponse(session, new Uri("http://google.com"));

            Assert.AreEqual(session, response.Session);
        }