public void GetPropValue_ReadValue() { var result = PackageTelemetry.GetPropValue(new PropValueTestClass { Test = "1" }, "Test"); Assert.AreEqual("1", result); }
public void GetPropValue_Null() { var result = PackageTelemetry.GetPropValue(null, "test"); Assert.AreEqual(null, result); }
public void GetPropValue_Object_TestClass() { var result = PackageTelemetry.GetPropValue(new TestClass(), "Test"); Assert.AreEqual(true, result); }