public void ContainsPrefix_ReturnsFalse_IfElementCannotSpecifyValuesForPrefix( string elementName, string prefix) { // Arrange var culture = new CultureInfo("en-US"); var elementalValueProvider = new ElementalValueProvider( elementName, "hi", culture); // Act var containsPrefix = elementalValueProvider.ContainsPrefix(prefix); // Assert Assert.False(containsPrefix); }
public void ContainsPrefix_ReturnsTrue_IfElementNameStartsWithPrefix( string elementName, string prefix) { // Arrange var culture = new CultureInfo("en-US"); var elementalValueProvider = new ElementalValueProvider( elementName, "hi", culture); // Act var containsPrefix = elementalValueProvider.ContainsPrefix(prefix); // Assert Assert.True(containsPrefix); }