Esempio n. 1
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();
        }
Esempio n. 2
0
 /// <summary>
 /// Constructor is called for every test. It is passed the fixture, which is 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 DealTests(TestContactCreationFixture contactCreationFixture, EnvironmentSetupFixture environmentSetupFixture)
 {
     this.contactCreationFixture  = contactCreationFixture;
     this.environmentSetupFixture = environmentSetupFixture;
 }
 public HubSpotAdapterTests(TestContactCreationFixture contactCreationFixture, EnvironmentSetupFixture environmentSetupFixture)
 {
     this._contactCreationFixture  = contactCreationFixture;
     this._environmentSetupFixture = environmentSetupFixture;
     this._logger = new ListLogger();
 }