コード例 #1
0
 public override void OneTimeSetup()
 {
     _hashSetSpecificationInstanceType    = typeof(HashSetSpecification);
     _hashSetSpecificationInstanceFixture = this.Create <HashSetSpecification>(true);
     _hashSetSpecificationInstance        = _hashSetSpecificationInstanceFixture ?? this.Create <HashSetSpecification>(false);
     CurrentInstance = _hashSetSpecificationInstanceFixture;
     ConfigureIgnoringTests(); // Configure ignoring tests.
 }
コード例 #2
0
        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();
        }