public void TestGetPointsOfContact() { var instance = new TestDocument(); Assert.IsNull(configuration.GetPointsOfContact(instance)); configuration.HasPointsOfContact(x => x.PointsOfContact); Assert.IsNull(configuration.GetPointsOfContact(instance)); instance.PointsOfContact = new string[] { "value" }; Assert.IsTrue(Object.ReferenceEquals(instance.PointsOfContact, configuration.GetPointsOfContact(instance))); }