public void JobOpeningonstructor_CreatesInstanceOfJobOpening_JobOpening()
        {
            Contact    newContact = new Contact("name", "email", "phoneNumber");
            JobOpening newPosting = new JobOpening("title", "description", newContact);

            Assert.AreEqual(typeof(JobOpening), newPosting.GetType());
        }
        public void JobOpeningConstructor_CreatesInstanceOfJobOpening_JobOpening()
        {
            JobOpening newJobOpening = new JobOpening("Salt Miner", "mine salt", "Sterling Holmes", 1234567845);

            Assert.AreEqual(typeof(JobOpening), newJobOpening.GetType());
        }
예제 #3
0
        public void JobOpeningConstructor_CreatesInstanceOfItem_Item()
        {
            JobOpening newJobOpening = new JobOpening("test1", "test2", "test3", "test4", "test5");

            Assert.AreEqual(typeof(JobOpening), newJobOpening.GetType());
        }