Beispiel #1
0
 public void UserWithNoPhoneNumberCannotMakeAnOffer()
 {
     var user = new User(1, "rhys", "campbell");
     Assert.False(user.CanMakeOffer());
 }
Beispiel #2
0
 public void UserWithNameAndPhoneNumberCanMakeAnOffer()
 {
     var user = new User(1, "rhys", "campbell");
     user.AddContact(ContactType.MobilePhone, "0404 305458");
     Assert.True(user.CanMakeOffer());
 }