public void Constructor_InitialisesPropertiesCorrectly()
        {
            var methodDetails = new DummyIMethodDetails();

            var target = new InstrumentationTarget(methodDetails, "Metric name", "Transaction name", "1", Metric.Scoped);

            Assert.AreSame(methodDetails, target.Target);
            Assert.AreEqual("Metric name", target.MetricName);
            Assert.AreEqual("Transaction name", target.Name);
            Assert.AreEqual("1", target.TransactionNamingPriority);
            Assert.AreEqual(Metric.Scoped, target.Metric);
        }
        public void Constructor_InitialisesPropertiesCorrectly()
        {
            var methodDetails = new DummyIMethodDetails();

            var target = new InstrumentationTarget(methodDetails, "Metric name", "Transaction name", "1", Metric.Scoped);

            Assert.AreSame(methodDetails, target.Target);
            Assert.AreEqual("Metric name", target.MetricName);
            Assert.AreEqual("Transaction name", target.Name);
            Assert.AreEqual("1", target.TransactionNamingPriority);
            Assert.AreEqual(Metric.Scoped, target.Metric);
        }