Esempio n. 1
0
        public void GetLastActivity_AccessTokenInvalid_ThrowAccessTokenInvalidException()
        {
            var cat = new MessagesCategory(new VkApi());

            Assert.That(() => cat.GetLastActivity(1), Throws.InstanceOf <AccessTokenInvalidException>());
        }
Esempio n. 2
0
        public void GetLastActivity_AccessTokenInvalid_ThrowAccessTokenInvalidException()
        {
            var cat = new MessagesCategory(new VkApi());

            This.Action(() => cat.GetLastActivity(1)).Throws <AccessTokenInvalidException>();
        }
Esempio n. 3
0
        public void GetLastActivity_AccessTokenInvalid_ThrowAccessTokenInvalidException()
        {
            var cat = new MessagesCategory(new VkApi());

            cat.GetLastActivity(1);
        }