public void FromDayOfMonthPattern()
        {
            IPattern pattern = new DayOfMonthPattern(1, 2, 3);
            var result = _toModel.Convert(ToAccountIdentifier(pattern));

            ValidateSimplePattern(result, "Day Of Month", "{\"Days of Month\":\"1, 2, 3\"}");
        }
 private Documents.Pattern ToPattern(DayOfMonthPattern pattern)
 {
     return new Pattern
     {
         Name = "DayOfMonth",
         Properties =
             {
                 {"DaysOfMonth", pattern.DaysOfMonth}
             }
     };
 }