public Fixture()
 {
     InnerTool      = new OnePasswordToolMock();
     SessionStorage = new OnePasswordSessionStorageMock();
     Organization   = "appy";
     Environment    = "DEV";
     Vault          = "Development";
     Item           = "Demo.AppSettings";
     SessionToken   = "FakeToken";
 }
            public Fixture()
            {
                Logger            = new LoggerMock();
                ConsoleVisualizer = new ConsoleVisualizerMock();
                ApiRunner         = new OnePasswordApiRunnerMock();
                SessionStorage    = new OnePasswordSessionStorageMock();
                JobScheduler      = new JobSchedulerMock();
                Tool = new OnePasswordToolMock();
                CommandLineApplicationFactory = new CommandLineApplicationFactoryMock();

                var commandLineApp = new CommandLineApplication(new TestConsole(null));

                CommandLineApplicationFactory.SetupAndReturns(commandLineApp);

                Organization = "appy";
                Email        = "*****@*****.**";
                Secretkey    = "FakeSecretKey";
                Environment  = "DEV";
                Vault        = "Development";
                SessionToken = "FakeToken";
            }
Example #3
0
 public Fixture()
 {
     PlatformInfo       = new PlatformInformationMock();
     FileSessionStorage = new OnePasswordSessionStorageMock();
     EnvSessionStorage  = new OnePasswordSessionStorageMock();
 }