public void SearchDialogs_AccessTokenInvalid_ThrowAccessTokenInvalidException() { var cat = new MessagesCategory(new VkApi()); Assert.That(() => cat.SearchDialogs("hello"), Throws.InstanceOf <AccessTokenInvalidException>()); }
public void SearchDialogs_AccessTokenInvalid_ThrowAccessTokenInvalidException() { var cat = new MessagesCategory(new VkApi()); This.Action(() => cat.SearchDialogs("hello")).Throws <AccessTokenInvalidException>(); }
public void SearchDialogs_AccessTokenInvalid_ThrowAccessTokenInvalidException() { var cat = new MessagesCategory(new VkApi()); cat.SearchDialogs("hello"); }