public override void OneTimeSetup() { _hashSetSpecificationInstanceType = typeof(HashSetSpecification); _hashSetSpecificationInstanceFixture = this.Create <HashSetSpecification>(true); _hashSetSpecificationInstance = _hashSetSpecificationInstanceFixture ?? this.Create <HashSetSpecification>(false); CurrentInstance = _hashSetSpecificationInstanceFixture; ConfigureIgnoringTests(); // Configure ignoring tests. }
public void AUT_HashSetSpecification_Instantiated_Without_Parameter_No_Throw_Exception_Test() { // Arrange HashSetSpecification instance = null; // Act var exception = CreateAnalyzer.GetThrownExceptionWhenCreate(out instance); // Assert instance.ShouldNotBeNull(); exception.ShouldBeNull(); }