Ejemplo n.º 1
0
 public override void OneTimeSetup()
 {
     _randomRangedNumberCustomizationInstanceType    = typeof(RandomRangedNumberCustomization);
     _randomRangedNumberCustomizationInstanceFixture = this.Create <RandomRangedNumberCustomization>(true);
     _randomRangedNumberCustomizationInstance        = _randomRangedNumberCustomizationInstanceFixture ?? this.Create <RandomRangedNumberCustomization>(false);
     CurrentInstance = _randomRangedNumberCustomizationInstanceFixture;
     ConfigureIgnoringTests(); // Configure ignoring tests.
 }
Ejemplo n.º 2
0
        public void AUT_RandomRangedNumberCustomization_Instantiated_Without_Parameter_No_Throw_Exception_Test()
        {
            // Arrange
            RandomRangedNumberCustomization instance = null;

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

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