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

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

            configuration.HasObjectives(x => x.Objectives);
            Assert.IsNull(configuration.GetObjectives(instance));

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