public void GetMutual_EmptyAccessToken_ThrowAccessTokenInvalidException() { var cat = new FriendsCategory(new VkApi()); Assert.That(() => cat.GetMutual(new FriendsGetMutualParams { TargetUid = 2, SourceUid = 3 }), Throws.InstanceOf <AccessTokenInvalidException>()); }
public void GetMutual_EmptyAccessToken_ThrowAccessTokenInvalidException() { var friendsCategory = new FriendsCategory(new VkApi()); This.Action(() => friendsCategory.GetMutual(2, 3)).Throws <AccessTokenInvalidException>(); }
public void GetMutual_EmptyAccessToken_ThrowAccessTokenInvalidException() { var cat = new FriendsCategory(new VkApi()); Assert.That(() => cat.GetMutual(2, 3), Throws.InstanceOf <AccessTokenInvalidException>()); }
public void GetMutual_EmptyAccessToken_ThrowAccessTokenInvalidException() { var f = new FriendsCategory(new VkApi()); f.GetMutual(2, 3); }