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); }
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); }