예제 #1
0
 public CreateDiscoveryDocumentationActionFixture()
 {
     _scopeRepositoryStub = new Mock <IScopeRepository>();
     _createDiscoveryDocumentationAction = new DiscoveryActions(_scopeRepositoryStub.Object);
 }
예제 #2
0
 /// <summary>
 /// Initializes a new instance of the <see cref="DiscoveryController"/> class.
 /// </summary>
 /// <param name="scopeRepository">The scope repository.</param>
 public DiscoveryController(IScopeRepository scopeRepository)
 {
     _discoveryActions = new DiscoveryActions(scopeRepository);
 }