Example #1
0
 public override void OneTimeSetup()
 {
     _mapCreateManyToEnumerableInstanceType    = typeof(MapCreateManyToEnumerable);
     _mapCreateManyToEnumerableInstanceFixture = this.Create <MapCreateManyToEnumerable>(true);
     _mapCreateManyToEnumerableInstance        = _mapCreateManyToEnumerableInstanceFixture ?? this.Create <MapCreateManyToEnumerable>(false);
     CurrentInstance = _mapCreateManyToEnumerableInstanceFixture;
     ConfigureIgnoringTests(); // Configure ignoring tests.
 }
Example #2
0
        public void AUT_MapCreateManyToEnumerable_Instantiated_Without_Parameter_No_Throw_Exception_Test()
        {
            // Arrange
            MapCreateManyToEnumerable instance = null;

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

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