public void ReplacePlaceholders_WithSameElementProperties() { UserSection userSection = TestUtilities.GetSection <UserSection>("UserSettings"); UserElement user = userSection.User; string expected = "John Doe"; Assert.AreEqual(expected, user.FullName); }
public void ReplacePlaceholders_WithParentElementProperties() { UserSection userSection = TestUtilities.GetSection <UserSection>("UserSettings"); UserElement user = userSection.User; string expected = "Hello John Doe, welcome to MY APP v1.0!"; Assert.AreEqual(expected, user.WelcomeMessage); }