Esempio n. 1
0
 public void AUT_StringLengthAttributeRelay_Is_Instance_Present_Test()
 {
     // Assert
     _stringLengthAttributeRelayInstanceType.ShouldNotBeNull();
     _stringLengthAttributeRelayInstance.ShouldNotBeNull();
     _stringLengthAttributeRelayInstanceFixture.ShouldNotBeNull();
     CurrentInstance.ShouldNotBeNull();
 }
Esempio n. 2
0
        public void AUT_StringLengthAttributeRelay_Instantiated_Without_Parameter_No_Throw_Exception_Test()
        {
            // Arrange
            StringLengthAttributeRelay instance = null;

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

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