Exemple #1
0
 public override void OneTimeSetup()
 {
     _listRelayInstanceType    = typeof(ListRelay);
     _listRelayInstanceFixture = this.Create <ListRelay>(true);
     _listRelayInstance        = _listRelayInstanceFixture ?? this.Create <ListRelay>(false);
     CurrentInstance           = _listRelayInstanceFixture;
     ConfigureIgnoringTests(); // Configure ignoring tests.
 }
Exemple #2
0
        public void AUT_ListRelay_Instantiated_Without_Parameter_No_Throw_Exception_Test()
        {
            // Arrange
            ListRelay instance = null;

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

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