示例#1
0
 public override void OneTimeSetup()
 {
     _uInt32SequenceGeneratorInstanceType    = typeof(UInt32SequenceGenerator);
     _uInt32SequenceGeneratorInstanceFixture = this.Create <UInt32SequenceGenerator>(true);
     _uInt32SequenceGeneratorInstance        = _uInt32SequenceGeneratorInstanceFixture ?? this.Create <UInt32SequenceGenerator>(false);
     CurrentInstance = _uInt32SequenceGeneratorInstanceFixture;
     ConfigureIgnoringTests(); // Configure ignoring tests.
 }
示例#2
0
        public void AUT_UInt32SequenceGenerator_Instantiated_Without_Parameter_No_Throw_Exception_Test()
        {
            // Arrange
            UInt32SequenceGenerator instance = null;

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

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