Exemple #1
0
        /// <summary>
        /// Constructor is called prior to every test
        /// </summary>
        public UpdateContractStatusTests(EnvironmentSetupFixture environmentSetupFixture)
        {
            this._environmentSetupFixture = environmentSetupFixture;

            this._errorQueue = new TestableAsyncCollector <string>();
            this._logger     = new ListLogger();
        }
Exemple #2
0
        /// <summary>
        /// Constructor is called for every test. It is passed the fixtures, which are instantiated only once, just
        /// before the first test is run, to set the environment variables used by the test
        /// </summary>
        /// <param name="contactCreationFixture"></param>
        public CrmUpdateTests(TestContactCreationFixture contactCreationFixture, EnvironmentSetupFixture environmentSetupFixture)
        {
            this.contactCreationFixture  = contactCreationFixture;
            this.environmentSetupFixture = environmentSetupFixture;

            this._errorQueue = new TestableAsyncCollector <string>();
            this._logger     = new ListLogger();
        }