Search() private method

private Search ( [ query, int &totalCount, int count = null, int offset = null ) : ReadOnlyCollection
query [
totalCount int
count int
offset int
return ReadOnlyCollection
コード例 #1
0
ファイル: MessagesCategoryTest.cs プロジェクト: Olegasdf/vk
 public void Search_AccessTokenInvalid_ThrowAccessTokenInvalidException()
 {
     var cat = new MessagesCategory(new VkApi());
     int totalCount;
     This.Action(() => cat.Search("привет", out totalCount)).Throws<AccessTokenInvalidException>();
 }
コード例 #2
0
 public void Search_AccessTokenInvalid_ThrowAccessTokenInvalidException()
 {
     int totalCount;
     var cat = new MessagesCategory(new VkApi());
     Assert.That(() => cat.Search("привет", out totalCount), Throws.InstanceOf<AccessTokenInvalidException>());
 }