Ejemplo n.º 1
0
 public void TestAContactWithANameHasSomeInformation()
 {
     IContact c1 = new Contact("John Doe");
     Assert.IsTrue(c1.ContainsSomeInformation());
 }
Ejemplo n.º 2
0
 public void TestAnEmptyContactHasNoInformation()
 {
     IContact c1 = new Contact("");
     Assert.IsFalse(c1.ContainsSomeInformation());
 }
Ejemplo n.º 3
0
 public void TestAContactWithAMailHasSomeInformation()
 {
     IContact c1 = new Contact("", "*****@*****.**");
     Assert.IsTrue(c1.ContainsSomeInformation());
 }