public void DeleteTeacher_ShouldReturnNotFound()
        {
            // Arrange
            testSchoolRegisterContext = new TestSchoolRegisterContext();
            teacherRepo        = new MockTeacherRepo(testSchoolRegisterContext);
            teachersController = new TeachersController(teacherRepo);

            //Act
            IHttpActionResult actionResult = teachersController.DeleteTeacher("sampleTeacherId");

            //Assert
            Assert.IsInstanceOfType(actionResult, typeof(NotFoundResult));
        }
        public void DeleteTeacher_ShouldReturnForbidden()
        {
            //Arrange
            testSchoolRegisterContext = new TestSchoolRegisterContext();
            teacherRepo        = new MockTeacherRepo(testSchoolRegisterContext);
            teachersController = new TeachersController(teacherRepo);
            PopulateTeacherFields();

            //Act
            var actionResult = teachersController.DeleteTeacher("unauthenticatedTeacherId") as ResponseMessageResult;


            //Assert
            Assert.IsNotNull(actionResult);
            Assert.AreEqual(actionResult.Response.StatusCode, HttpStatusCode.Forbidden);
        }