public void Setup() { var validCommand = new CreateANotificationCommand { Title = "New patch 1.623", Content = "A new area and some monsters have been added", Type = NotificationType.PatchNotes }; _validationContext = new CreateANotificationValidationContext(validCommand); }
public CreateANotificationValidationContext(CreateANotificationCommand command) => Command = command;