Пример #1
0
 public void Setup()
 {
     _fakePromptLevelServiceClient = new FakeChildPromptLevelServiceClient();
     _promptItemCollectionBuilder = new Mock<IPromptItemCollectionBuilder>();
     _childPromptItemsService = new ChildPromptItemsService(
         _fakePromptLevelServiceClient.Object,
         _promptItemCollectionBuilder.Object);
 }
Пример #2
0
 public void Setup()
 {
     _fakeChildPromptLevelServiceClient = new FakeChildPromptLevelServiceClient();
     _treeNodeCollectionBuilder = new Mock<ITreeNodeCollectionBuilder>();
     _treeNodeService = new ChildTreeNodeService(
         _fakeChildPromptLevelServiceClient.Object,
         _treeNodeCollectionBuilder.Object);
 }