コード例 #1
0
        public ListPathsViewComponentTests()
        {
            logger          = new Mock <ILogger <ListPathsViewComponent> >();
            pathDataService = new Mock <IPathDataService>();

            viewComponent = new ListPathsViewComponent(pathDataService.Object);
        }
コード例 #2
0
        public ListPathsViewComponentTests()
        {
            logger = new Mock <ILogger <ListPathsViewComponent> >();
            appRegistryDataService = new Mock <IAppRegistryDataService>();

            viewComponent = new ListPathsViewComponent(appRegistryDataService.Object);
        }