Search() private method

private Search ( [ query, int &totalCount, int count = null, int offset = null ) : ReadOnlyCollection
query [
totalCount int
count int
offset int
return ReadOnlyCollection
Ejemplo n.º 1
0
 public void Search_AccessTokenInvalid_ThrowAccessTokenInvalidException()
 {
     var cat = new MessagesCategory(new VkApi());
     int totalCount;
     This.Action(() => cat.Search("привет", out totalCount)).Throws<AccessTokenInvalidException>();
 }
Ejemplo n.º 2
0
 public void Search_AccessTokenInvalid_ThrowAccessTokenInvalidException()
 {
     int totalCount;
     var cat = new MessagesCategory(new VkApi());
     Assert.That(() => cat.Search("привет", out totalCount), Throws.InstanceOf<AccessTokenInvalidException>());
 }