preventiveActionManager = (PreventiveActionManager) ModelUtil
.getBean("preventiveActionManager");
when(managerRepository.getPreventiveActionManager()).thenReturn(
preventiveActionManager);
PreventiveActionViewHandler preventiveActionViewHandler = new PreventiveActionViewHandler(
login, managerRepository);
final OverviewView<PreventiveAction, PreventiveActionModel> view = new OverviewView<PreventiveAction, PreventiveActionModel>(
preventiveActionViewHandler);