public async Task ContainsPrefixAsync_ReturnsFalse_IfElementCannotSpecifyValuesForPrefix(string elementName, string prefix) { // Arrange var culture = new CultureInfo("en-US"); var elementalValueProvider = new ElementalValueProvider(elementName, new object(), culture); // Act var containsPrefix = await elementalValueProvider.ContainsPrefixAsync(prefix); // Assert Assert.False(containsPrefix); }
public async Task ContainsPrefixAsync_ReturnsFalse_IfElementCannotSpecifyValuesForPrefix(string elementName, string prefix) { // Arrange var culture = new CultureInfo("en-US"); var elementalValueProvider = new ElementalValueProvider(elementName, new object(), culture); // Act var containsPrefix = await elementalValueProvider.ContainsPrefixAsync(prefix); // Assert Assert.False(containsPrefix); }
public async Task ContainsPrefixAsync_ReturnsTrue_IfElementNameStartsWithPrefix(string elementName, string prefix) { // Arrange var culture = new CultureInfo("en-US"); var elementalValueProvider = new ElementalValueProvider(elementName, new object(), culture); // Act var containsPrefix = await elementalValueProvider.ContainsPrefixAsync(prefix); // Assert Assert.True(containsPrefix); }
public async Task ContainsPrefixAsync_ReturnsTrue_IfElementNameStartsWithPrefix(string elementName, string prefix) { // Arrange var culture = new CultureInfo("en-US"); var elementalValueProvider = new ElementalValueProvider(elementName, new object(), culture); // Act var containsPrefix = await elementalValueProvider.ContainsPrefixAsync(prefix); // Assert Assert.True(containsPrefix); }