Exemplo n.º 1
0
 public void NullObjectAddressProperty()
 {
     var person = new Person("Bill Gates");
     Assert.That(person.Address.StreetAddress, Is.Not.Null);
 }
Exemplo n.º 2
0
 public void NormalAddressProperty()
 {
     var person = new Person("Big bird", new Address("Seasame Street"));
     Assert.That(person.Address.StreetAddress, Is.Not.Null);
 }