public void ValidFormatWithPhoneProvider() { var format = "(0-xxx) xxx-xx-xxx"; PhoneProvider provider = new PhoneProvider(format); provider.MoveNext(null); Assert.Equal(format.Length, provider.Current.Length); }
public void ValidFormatWithIDataProviderString() { var format = "(0-xxx) xxx-xx-xxx"; IDataProvider <string> provider = new PhoneProvider(format); provider.MoveNext(null); Assert.Equal(format.Length, provider.Current.Length); }