Example #1
0
 public void TestResponsiblePartyCanHaveBothHomeAndMobileNumber()
 {
     ResponsibleParty testRelative1 = new ResponsibleParty("first", "last", "testHomeNumber", "testMobileNumber", "testStreet", "testCity");
     PhoneNumber testPhoneNumber = new PhoneNumber();
     testPhoneNumber.Home = testRelative1.ContactNumber.Home;
     testPhoneNumber.Mobile = testRelative1.ContactNumber.Mobile;
     Assert.NotNull(testPhoneNumber.Home);
     Assert.NotNull(testPhoneNumber.Mobile);
 }
Example #2
0
 public void TestFixtureSetupMethod()
 {
     TestRepository = new Repository();
     TestPerson = new Person("first", "second", "street", "city");
     TestTicket = new LateTicket("testTicketID");
     TestTicketIssue = new LateTicket("testTicketID", 2014, 5, 19, "13", "Jane", "Mart", 08.35);
     TestStudent = new Student("testID");
     TestRelative = new ResponsibleParty("first", "last", "testNumber", "testStreet", "testCity");
 }