public void TestInitialize() { _client = Substitute.For <ISecretServerClient>(); _clientFactory = Substitute.For <ISecretServerClientFactory>(); _context = new SecretServerContext { SecretServerUrl = "https://testsecretserver.fakedomain", RuleName = "uipath-rule", RuleKey = "abc-123", ResetToken = "reset", UsernameField = "username", PasswordField = "password", }; _secretSecureStore = new SecretServerSecureStore(_clientFactory); _serializedContext = JsonConvert.SerializeObject(_context); }
public SecretServerSecureStore(ISecretServerClientFactory clientFactory) { _clientFactory = clientFactory; }