}
@Test
public void testParseLazyActivationDescription() throws Exception
{
LazyActivationDescription pojo = new LazyActivationDescription(true);
Util.parseLazyActivationDescription("include:=\"com.acme.service.base,com.acme.service.help\"", pojo);
Assert.assertEquals(2, pojo.getInclude().size());
Assert.assertTrue(pojo.getInclude().contains("com.acme.service.base"));
Assert.assertTrue(pojo.getInclude().contains("com.acme.service.help"));
pojo = new LazyActivationDescription(true);
Util.parseLazyActivationDescription("exclude:=\"com.acme.service.base,com.acme.service.help\"", pojo);
Assert.assertEquals(2, pojo.getExclude().size());
Assert.assertTrue(pojo.getExclude().contains("com.acme.service.base"));
Assert.assertTrue(pojo.getExclude().contains("com.acme.service.help"));
try
{
Util.parseLazyActivationDescription("include:=\"1com.acme.service.base,com.acme.service.help\"", pojo);
Assert.fail("1com.acme.service.base is a bad path");