public override void OneTimeSetup() { _sortedSetSpecificationInstanceType = typeof(SortedSetSpecification); _sortedSetSpecificationInstanceFixture = this.Create <SortedSetSpecification>(true); _sortedSetSpecificationInstance = _sortedSetSpecificationInstanceFixture ?? this.Create <SortedSetSpecification>(false); CurrentInstance = _sortedSetSpecificationInstanceFixture; ConfigureIgnoringTests(); // Configure ignoring tests. }
public void AUT_SortedSetSpecification_Instantiated_Without_Parameter_No_Throw_Exception_Test() { // Arrange SortedSetSpecification instance = null; // Act var exception = CreateAnalyzer.GetThrownExceptionWhenCreate(out instance); // Assert instance.ShouldNotBeNull(); exception.ShouldBeNull(); }