public void Next_Returns_A_State_Abbreviation() { UsStatesSource source = new UsStatesSource(true); var value = source.Next(null); Assert.IsNotNullOrEmpty(value); Assert.IsTrue(value.Length == 2); Debug.WriteLine(string.Format("Welcome to {0}", value)); }
public void Next_Returns_A_State_Abbreviation() { UsStatesSource source = new UsStatesSource(true); var value = source.Next(null); Assert.That(value, Is.Not.Null.And.Not.Empty); Assert.IsTrue(value.Length == 2); Debug.WriteLine(string.Format("Welcome to {0}", value)); }
public void Next_Returns_A_State() { UsStatesSource source = new UsStatesSource(); var value = source.Next(null); Assert.IsNotNullOrEmpty(value); Assert.IsTrue(value.Length > 2); Debug.WriteLine(string.Format("Welcome to {0}", value)); }