コード例 #1
0
 protected BaseCmdletTest(MockBehavior behavior = MockBehavior.Strict)
 {
     DbMock                 = new DatabaseProviderMock(behavior);
     FileManagerMock        = new FileManagerMock(behavior);
     EnvironmentManagerMock = new EnvironmentManagerMock(behavior);
     ConfigManagerMock      = new ConfigManagerMock(behavior);
     SecretManagerMock      = new SecretManager(EnvironmentManagerMock.Object, FileManagerMock.Object,
                                                ConfigManagerMock.Object);
 }
コード例 #2
0
 public SecretManagerTests()
 {
     _envMock           = new EnvironmentManagerMock();
     _fileManagerMock   = new FileManagerMock();
     _configManagerMock = new ConfigManagerMock();
 }