public void TestGetRegions() { var instance = new TestDocument(); Assert.IsNull(configuration.GetRegions(instance)); configuration.HasRegions(x => x.Regions); Assert.IsNull(configuration.GetRegions(instance)); instance.Regions = new string[] { "value" }; Assert.IsTrue(Object.ReferenceEquals(instance.Regions, configuration.GetRegions(instance))); }