public void Init(EquipmentListController equipmentListController) { setupModel(); InventoryContext.EventBus.DispatchEvent(new InventoryUIEvents.ModelCreated(model)); equipmentListController.gameObject.SetActive(value: true); equipmentListController.Init(model); Service.Get <NotificationBreadcrumbController>().ResetBreadcrumbs(breadcrumb); }
public EquipmentListControllerTests() { equipmentRepo = Substitute.For <IRepository <Equipment> >(); sut = new EquipmentListController(equipmentRepo); }