예제 #1
0
 public void AUT_DefaultRelays_Is_Instance_Present_Test()
 {
     // Assert
     _defaultRelaysInstanceType.ShouldNotBeNull();
     _defaultRelaysInstance.ShouldNotBeNull();
     _defaultRelaysInstanceFixture.ShouldNotBeNull();
     CurrentInstance.ShouldNotBeNull();
 }
예제 #2
0
        public void AUT_DefaultRelays_Instantiated_Without_Parameter_No_Throw_Exception_Test()
        {
            // Arrange
            DefaultRelays instance = null;

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

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