Exemplo n.º 1
0
        public void QueryPlanCacheMissLogEntry()
        {
            var entry = new QueryPlanCacheMissLogEntry <GraphSchema>("abc123");

            Assert.AreEqual(LogEventIds.QueryCacheMiss.Id, entry.EventId);
            Assert.AreEqual("abc123", entry.QueryPlanHashCode);
            Assert.AreEqual(typeof(GraphSchema).FriendlyName(true), entry.SchemaTypeName);
            Assert.IsNotNull(entry.ToString());
        }