@Before
    public void setup() {
        this.mockMvc = webAppContextSetup(this.wac).build();
        //ставим заглушку
        EmployeeDao stubEmployeeDao = mock(EmployeeDao.class);
        when(stubEmployeeDao.getAll()).thenReturn(Arrays.asList(new Employee[] {new Employee(), new Employee()}));
        when(stubEmployeeDao.getById(3)).thenReturn(new Employee());
        wac.getBean(MainController.class).setEmployeeDao(stubEmployeeDao);
    }