Example #1
0
 public override void OneTimeSetup()
 {
     _sortedListSpecificationInstanceType    = typeof(SortedListSpecification);
     _sortedListSpecificationInstanceFixture = this.Create <SortedListSpecification>(true);
     _sortedListSpecificationInstance        = _sortedListSpecificationInstanceFixture ?? this.Create <SortedListSpecification>(false);
     CurrentInstance = _sortedListSpecificationInstanceFixture;
     ConfigureIgnoringTests(); // Configure ignoring tests.
 }
Example #2
0
        public void AUT_SortedListSpecification_Instantiated_Without_Parameter_No_Throw_Exception_Test()
        {
            // Arrange
            SortedListSpecification instance = null;

            // Act
            var exception = CreateAnalyzer.GetThrownExceptionWhenCreate(out instance);

            // Assert
            instance.ShouldNotBeNull();
            exception.ShouldBeNull();
        }