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