public void Restore_AccessTokenInvalid_ThrowAccessTokenInvalidException() { var cat = new MessagesCategory(new VkApi()); This.Action(() => cat.Restore(1)).Throws <AccessTokenInvalidException>(); }
public void Restore_AccessTokenInvalid_ThrowAccessTokenInvalidException() { var cat = new MessagesCategory(vk: new VkApi()); Assert.That(del: () => cat.Restore(messageId: 1), expr: Throws.InstanceOf <AccessTokenInvalidException>()); }
public void Restore_AccessTokenInvalid_ThrowAccessTokenInvalidException() { var cat = new MessagesCategory(new VkApi()); Assert.That(() => cat.Restore(1), Throws.InstanceOf <AccessTokenInvalidException>()); }
public void Restore_AccessTokenInvalid_ThrowAccessTokenInvalidException() { var cat = new MessagesCategory(new VkApi()); cat.Restore(1); }