when(login.getUserType()).thenReturn(userType);
AttributeManager attributeManager = (AttributeManager) ModelUtil
.getBean(AttributeManager.MANAGER_NAME);
when(managerRepository.getAttributeManager()).thenReturn(
attributeManager);
AttributeChoiceManager attributeChoiceManager = (AttributeChoiceManager) ModelUtil
.getBean(AttributeChoiceManager.MANAGER_NAME);
when(managerRepository.getAttributeChoiceManager()).thenReturn(
attributeChoiceManager);
final OverviewView<Attribute, AttributeModel> view = new OverviewView<Attribute, AttributeModel>(