public void Issue30_PartialSearch_False()
        {
            var serializer = new ManateeSerializer();

            TrelloConfiguration.Serializer         = serializer;
            TrelloConfiguration.Deserializer       = serializer;
            TrelloConfiguration.JsonFactory        = new ManateeFactory();
            TrelloConfiguration.RestClientProvider = new WebApiClientProvider();

            TrelloAuthorization.Default.AppKey    = TrelloIds.AppKey;
            TrelloAuthorization.Default.UserToken = TrelloIds.UserToken;

            var board      = new Board(TrelloIds.BoardId);
            var searchText = "car";
            var search     = new Search(SearchFor.Text(searchText), modelTypes: SearchModelType.Cards, context: new[] { board });

            Assert.AreEqual(0, search.Cards.Count());

            TrelloProcessor.Flush();
        }
        public void Issue30_PartialSearch_True()
        {
            var serializer = new ManateeSerializer();

            TrelloConfiguration.Serializer         = serializer;
            TrelloConfiguration.Deserializer       = serializer;
            TrelloConfiguration.JsonFactory        = new ManateeFactory();
            TrelloConfiguration.RestClientProvider = new WebApiClientProvider();

            TrelloAuthorization.Default.AppKey    = TrelloIds.AppKey;
            TrelloAuthorization.Default.UserToken = TrelloIds.UserToken;

            var board      = new Board(TrelloIds.BoardId);
            var searchText = "car";
            var search     = new Search(SearchFor.Text(searchText), modelTypes: SearchModelType.Cards, context: new[] { board }, isPartial: true);

            // search will include archived cards as well as matches in card descriptions.
            Assert.AreEqual(6, search.Cards.Count());

            TrelloProcessor.Flush();
        }