@Test
public void testWeeklyMondayAndWednesdayRecurrence() {

	ActionRequest actionRequest = Mockito.mock(ActionRequest.class);
	whenActionRequestGetParameter(actionRequest, "weeklyDayPos2", "true");
	whenActionRequestGetParameter(actionRequest, "weeklyDayPos4", "true");
	whenActionRequestGetParameter(actionRequest, "weeklyInterval", "1");
	String actualCronText = _addSchedulerMVCActionCommand.getCronText(
		actionRequest, calendarOf(2017, 1, 1, 12, 0), true,
		Recurrence.WEEKLY);
	Assert.assertEquals("0 0 12 ? * MON,WED/1 *", actualCronText);
}