public override void OneTimeSetup() { _dictionarySpecificationInstanceType = typeof(DictionarySpecification); _dictionarySpecificationInstanceFixture = this.Create <DictionarySpecification>(true); _dictionarySpecificationInstance = _dictionarySpecificationInstanceFixture ?? this.Create <DictionarySpecification>(false); CurrentInstance = _dictionarySpecificationInstanceFixture; ConfigureIgnoringTests(); // Configure ignoring tests. }
public void AUT_DictionarySpecification_Instantiated_Without_Parameter_No_Throw_Exception_Test() { // Arrange DictionarySpecification instance = null; // Act var exception = CreateAnalyzer.GetThrownExceptionWhenCreate(out instance); // Assert instance.ShouldNotBeNull(); exception.ShouldBeNull(); }