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