public void EsperantoLanguageTest() { LanguageSchoolDirector school = new LanguageSchoolDirector(new EsperantoCourseBuilder()); school.BeginCourse(); Assert.AreEqual("Esperanto", school.GetCourse().Language); Assert.AreEqual(1, school.GetCourse().CourseBooks.Count); Assert.AreEqual(900, school.GetCourse().Price); }
public void EnglishLanguageTest() { LanguageSchoolDirector school = new LanguageSchoolDirector(new EnglishCourseBuilder()); school.BeginCourse(); Assert.AreEqual("English", school.GetCourse().Language); Assert.AreEqual(2, school.GetCourse().CourseBooks.Count); Assert.AreEqual(1200, school.GetCourse().Price); }