public void When_TimetableReceivesOnlyBaseAddress_Then_AddressShouldBeValid() { var timetable = new GroupRequest { BaseAddress = "https://profs.info.uaic.ro/~orar" }; string address = timetable.GetAddress(); Assert.AreEqual("https://profs.info.uaic.ro/~orar", address); }
public void When_TimetableReceivesBaseAddressAndGroup_Then_AddressShouldBeValid() { var timetable = new GroupRequest { BaseAddress = "https://profs.info.uaic.ro/~orar", Group = "MIS1", Year = 4 }; string address = timetable.GetAddress(); Assert.AreEqual("https://profs.info.uaic.ro/~orar/participanti/orar_MIS1.html", address); }