public void SetUp() { BuildModeHUDInitializationModel testControllers = new BuildModeHUDInitializationModel { tooltipController = Substitute.For <ITooltipController>(), sceneCatalogController = Substitute.For <ISceneCatalogController>(), quickBarController = Substitute.For <IQuickBarController>(), entityInformationController = Substitute.For <IEntityInformationController>(), firstPersonModeController = Substitute.For <IFirstPersonModeController>(), shortcutsController = Substitute.For <IShortcutsController>(), publishPopupController = Substitute.For <IPublishPopupController>(), dragAndDropSceneObjectController = Substitute.For <IDragAndDropSceneObjectController>(), publishBtnController = Substitute.For <IPublishBtnController>(), inspectorBtnController = Substitute.For <IInspectorBtnController>(), catalogBtnController = Substitute.For <ICatalogBtnController>(), inspectorController = Substitute.For <IInspectorController>(), buildModeConfirmationModalController = Substitute.For <IBuildModeConfirmationModalController>(), topActionsButtonsController = Substitute.For <ITopActionsButtonsController>(), saveHUDController = Substitute.For <ISaveHUDController>(), newProjectDetailsController = Substitute.For <IPublicationDetailsController>(), publicationDetailsController = Substitute.For <IPublicationDetailsController>() }; buildModeHUDController = Substitute.ForPartsOf <BuildModeHUDController>(); buildModeHUDController.Configure().CreateView().Returns(info => Substitute.For <IBuildModeHUDView>()); buildModeHUDController.Initialize(testControllers); }