public OctopusIntegrationTests()
        {
            var filterConfig = new FilterConfiguration
            {
                Environments = { "dev" }
            };

            _config = Substitute.For<IConfiguration>();
            _config.OctopusHost.Returns(new Uri("http://172.28.128.20"));
            _config.OctopusApiKey.Returns("API-F6LZ4DWCNSDVWNSXVIOIMA11S");
            _config.VariableSetName.Returns("ConsulSet");
            _config.Filter.Returns(filterConfig);

            _filter = new VariableFilter(_config);
        }
 public ReadVariablesQuery(IConfiguration config, VariableFilter filter)
     : base(config)
 {
     _filter = filter;
 }
 public WriteVariableCommand(IConfiguration config, VariableFilter filter)
     : base(config)
 {
     _config = config;
     _filter = filter;
 }
 public DeleteVariableCommand(IConfiguration config, VariableFilter filter)
     : base(config)
 {
     _filter = filter;
 }