throws Exception
{
Assert.assertTrue(getSearchMessageUtil().searchForGav(getTestId(), "project", "0.8").isEmpty());
Assert.assertTrue(getSearchMessageUtil().searchForGav(getTestId(), "project", "2.1").isEmpty());
ScheduledServicePropertyResource repo = new ScheduledServicePropertyResource();
repo.setKey("repositoryId");
repo.setValue("g4");
TaskScheduleUtil.runTask("DownloadIndexesTaskDescriptor-snapshot", DownloadIndexesTaskDescriptor.ID, repo);
Assert.assertFalse(getSearchMessageUtil().searchForGav(getTestId(), "project", "0.8").isEmpty());
Assert.assertFalse(getSearchMessageUtil().searchForGav(getTestId(), "project", "2.1").isEmpty());
}