Example #1
0
        public void ReturnCreatedObject_When_IsCalled()
        {
            var factory = new EducationalInstituteFactory();

            var primarySchool = factory.CreatePrimarySchool("Neshkoro Elementary", 2018);

            Assert.IsNotNull(primarySchool);
        }
Example #2
0
        public void ReturnCreatedObject_When_IsCalled()
        {
            var factory = new EducationalInstituteFactory();

            var kinderGarten = factory.CreateKinderGarten("Collegiate Garden", 2018);

            Assert.IsNotNull(kinderGarten);
        }
Example #3
0
        public void ReturnCreatedObject_When_IsCalled()
        {
            var factory = new EducationalInstituteFactory();

            var university = factory.CreateUniversity("Harvard University", 2018);

            Assert.IsNotNull(university);
        }
        public void ReturnCreatedObject_When_IsCalled()
        {
            var factory = new EducationalInstituteFactory();

            var highSchool = factory.CreateHighSchool("Scottsdale", 2018);

            Assert.IsNotNull(highSchool);
        }