public void ShouldGenerateValue() { var gen = new CitiesStringGenerator(new ColumnDataTypeDefinition("VarChar(123)", false)); var firstValue = gen.GenerateValue(1); Assert.That(firstValue, Is.Not.Null); }
public void ShouldStartOverWhenAllValuesBeenSeen() { var gen = new CitiesStringGenerator(new ColumnDataTypeDefinition("VarChar(123)", false)); for (int n = 0; n < 20000; n++) { var firstValue = gen.GenerateValue(n); Assert.That(firstValue, Is.Not.Null); } }