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