@Test
	public void testExplicitMessage() {
		Bean bean = new Bean();
		bean.cron2 = "61 * * * * *";
		ConstraintViolation<Bean> violation = validator.validate(bean).iterator().next();
		Assert.assertThat(violation.getMessage(), equalTo("something is wrong"));

	}
Tests for CronExpression.CronValidator.

@author Eric Bottard
spring-xd-module-spi/src/test/java/org/springframework/xd/module/options/validation/CronValidatorTests.java