.getBean(DeviationManager.MANAGER_NAME);
when(managerRepository.getDeviationManager()).thenReturn(deviationManager);
final ApplicationUser applicationUser = new ApplicationUser();
final ProductArea productArea = productAreaManager
.findByName("Garasje villa");
ProductAreaGroupManager productAreaGroupManager = (ProductAreaGroupManager) ModelUtil
.getBean(ProductAreaGroupManager.MANAGER_NAME);
ProductAreaGroup productAreaGroup = productAreaGroupManager
.findByName("Garasje");
productArea.setProductAreaGroup(productAreaGroup);
applicationUser.setProductArea(productArea);
applicationUser.setUserName("username");
applicationUser.setGroupUser("Nei");
when(login.getApplicationUser()).thenReturn(applicationUser);
final UserType userType = new UserType();