public void EditChat_AccessTokenInvalid_ThrowAccessTokenInvalidException() { var cat = new MessagesCategory(new VkApi()); This.Action(() => cat.EditChat(2, "new title")).Throws <AccessTokenInvalidException>(); }
public void EditChat_AccessTokenInvalid_ThrowAccessTokenInvalidException() { var cat = new MessagesCategory(vk: new VkApi()); Assert.That(del: () => cat.EditChat(chatId: 2, title: "new title"), expr: Throws.InstanceOf <AccessTokenInvalidException>()); }
public void EditChat_AccessTokenInvalid_ThrowAccessTokenInvalidException() { var cat = new MessagesCategory(new VkApi()); Assert.That(() => cat.EditChat(2, "new title"), Throws.InstanceOf <AccessTokenInvalidException>()); }
public void EditChat_AccessTokenInvalid_ThrowAccessTokenInvalidException() { var cat = new MessagesCategory(new VkApi()); cat.EditChat(2, "new title"); }