public void WhenCalled_GetAllEmployers_ReturnsOkResult()
        {
            //Arrange
            var mockServiceResponse = new List <Employer>
            {
                new Employer
                {
                    EmployerName = "Test",
                    EmployerId   = 12345
                }
            };

            mockEmployerService.Setup(s => s.GetAllEmployers()).Returns(mockServiceResponse);

            //Act
            var actualResult = employerController.GetAllEmployers();


            //Assert
            var okResult = actualResult.Result as OkObjectResult;

            Assert.IsNotNull(okResult);
            Assert.AreEqual(200, okResult.StatusCode);
            var employersList = okResult.Value as List <Employer>;

            Assert.AreEqual(1, employersList.Count);
        }