コード例 #1
0
 public override void OneTimeSetup()
 {
     _uInt16SequenceGeneratorInstanceType    = typeof(UInt16SequenceGenerator);
     _uInt16SequenceGeneratorInstanceFixture = this.Create <UInt16SequenceGenerator>(true);
     _uInt16SequenceGeneratorInstance        = _uInt16SequenceGeneratorInstanceFixture ?? this.Create <UInt16SequenceGenerator>(false);
     CurrentInstance = _uInt16SequenceGeneratorInstanceFixture;
     ConfigureIgnoringTests(); // Configure ignoring tests.
 }
コード例 #2
0
        public void AUT_UInt16SequenceGenerator_Instantiated_Without_Parameter_No_Throw_Exception_Test()
        {
            // Arrange
            UInt16SequenceGenerator instance = null;

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

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