public void Get_AccessTokenInvalid_ThrowAccessTokenInvalidException() { var status = new StatusCategory(new VkApi()); This.Action(() => status.Get(1)).Throws <AccessTokenInvalidException>(); }
public void Get_AccessTokenInvalid_ThrowAccessTokenInvalidException() { var status = new StatusCategory(new VkApi()); status.Get(1); }
public void Get_AccessTokenInvalid_ThrowAccessTokenInvalidException() { var status = new StatusCategory(new VkApi()); Assert.That(() => status.Get(1), Throws.InstanceOf <AccessTokenInvalidException>()); }
public void Get_AccessTokenInvalid_ThrowAccessTokenInvalidException() { var status = new StatusCategory(vk: new VkApi()); Assert.That(del: () => status.Get(userId: 1), expr: Throws.InstanceOf <AccessTokenInvalidException>()); }