Example #1
0
        public void TestGetNameOrMessage_DependencyTelemetry()
        {
            // arrange
            string expected = "TestName";
            DependencyTelemetry telemetry = new DependencyTelemetry("", "", expected, "");

            // act
            string actual = telemetry.GetNameOrMessage();

            // assert
            Assert.AreEqual(expected, actual);
        }