Beispiel #1
0
 public override void OneTimeSetup()
 {
     _supportMutableValueTypesCustomizationInstanceType    = typeof(SupportMutableValueTypesCustomization);
     _supportMutableValueTypesCustomizationInstanceFixture = this.Create <SupportMutableValueTypesCustomization>(true);
     _supportMutableValueTypesCustomizationInstance        = _supportMutableValueTypesCustomizationInstanceFixture ?? this.Create <SupportMutableValueTypesCustomization>(false);
     CurrentInstance = _supportMutableValueTypesCustomizationInstanceFixture;
     ConfigureIgnoringTests(); // Configure ignoring tests.
 }
Beispiel #2
0
        public void AUT_SupportMutableValueTypesCustomization_Instantiated_Without_Parameter_No_Throw_Exception_Test()
        {
            // Arrange
            SupportMutableValueTypesCustomization instance = null;

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

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