@Test
public void testValid() throws Exception {

	RetryPolicy policy = RetryPolicyFactory.create("1:[1,2]");
	Assert.assertTrue(policy instanceof FrequencySpecifiedRetryPolicy);
	Assert.assertEquals(2, policy.getRetryTimes());
}