Example #1
0
 public void IdIsProperlyInferrered()
 {
     var guid = Guid.NewGuid();
     var o = new IndexableEvent() {Id = "this-is-not-the-id", ContentGUID = guid};
     var id = _client.Infer.Id(o);
     id.Should().NotBeBlank().And.Be(o.IndexId);
 }
Example #2
0
        public void IdIsProperlyInferrered()
        {
            var guid = Guid.NewGuid();
            var o    = new IndexableEvent()
            {
                Id = "this-is-not-the-id", ContentGUID = guid
            };
            var id = _client.Infer.Id(o);

            id.Should().NotBeNullOrWhiteSpace().And.Be(o.IndexId);
        }