public void empty_engine_results()
        {
            var keywordResult = new KeywordResult
            {
                Keyword = "keyword",
                Date = DateTime.UtcNow,
                Engine = Engine.None,
                Version = "1",
                EngineResults = new List<EngineResult>()
            };

            var bytes = keywordResult.ToBinary();

            AssertEx.PropertyValuesAreEquals(keywordResult, KeywordResult.TryGetFromBinary(bytes));
        }
        public void exist_engine_results()
        {
            var keywordResult = new KeywordResult
            {
                Keyword = "keyword",
                Date = DateTime.UtcNow,
                Engine = Engine.None,
                Version = "1",
                EngineResults = new List<EngineResult>{
                        new EngineResult{
                        Title="Title",
                        Url = "Url",
                        ItemHtml="<b>Html</b>"
                    }
                }
            };

            var bytes = keywordResult.ToBinary();

            var actual = KeywordResult.TryGetFromBinary(bytes);

            AssertEx.PropertyValuesAreEquals(keywordResult, actual);
        }