Exemple #1
0
        public void TestGetFoci()
        {
            var instance = new TestDocument();

            Assert.IsNull(configuration.GetFoci(instance));

            configuration.HasFoci(x => x.Foci);
            Assert.IsNull(configuration.GetFoci(instance));

            instance.Foci = new string[] { "value" };
            Assert.IsTrue(Object.ReferenceEquals(instance.Foci, configuration.GetFoci(instance)));
        }