public void TestGetThemes() { var instance = new TestDocument(); Assert.IsNull(configuration.GetThemes(instance)); configuration.HasThemes(x => x.Themes); Assert.IsNull(configuration.GetThemes(instance)); instance.Themes = new string[] { "value" }; Assert.IsTrue(Object.ReferenceEquals(instance.Themes, configuration.GetThemes(instance))); }