public AssertUserMessageDecorator(IAssertExceptionBlockCreator blockCreator,
                                          ExceptionExpectancyAtAttributeLevel attribute) : base(blockCreator)
        {
            if (attribute == null)
            {
                throw new ArgumentNullException(nameof(attribute));
            }

            _userMessage = attribute.UserMessage;
        }
Beispiel #2
0
 public AssertExceptionMessageDecorator(IAssertExceptionBlockCreator blockCreator,
                                        ExceptionExpectancyAtAttributeLevel attribute) : base(blockCreator)
 {
     _attribute = attribute;
 }