Get() private method

private Get ( long uid, ProfileFields fields = null, int count = null, int offset = null, FriendsOrder order = null, NameCase nameCase = null, int listId = null ) : ReadOnlyCollection
uid long
fields ProfileFields
count int
offset int
order FriendsOrder
nameCase NameCase
listId int
return ReadOnlyCollection
示例#1
0
 public void Get_EmptyAccessToken_ThrowAccessTokenInvalidException()
 {
     var f = new FriendsCategory(new VkApi());
     This.Action(() => f.Get(1)).Throws<AccessTokenInvalidException>();
 }
示例#2
0
 public void Get_EmptyAccessToken_ThrowAccessTokenInvalidException()
 {
     var cat = new FriendsCategory(new VkApi());
     Assert.That(() => cat.Get(1), Throws.InstanceOf<AccessTokenInvalidException>());
 }
示例#3
0
 public void Get_EmptyAccessToken_ThrowAccessTokenInvalidException()
 {
     var f = new FriendsCategory(new VkApi());
     f.Get(1);
 }