Exemplo n.º 1
0
 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));
 }
Exemplo n.º 2
0
        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));
        }
Exemplo n.º 3
0
        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));
        }