public void progress(IvyEvent event) {
PublishEventsTest test = (PublishEventsTest)IvyContext.getContext().peek(PublishEventsTest.class.getName());
assertTrue("event is of correct concrete type",
event instanceof StartArtifactPublishEvent);
StartArtifactPublishEvent startEvent = (StartArtifactPublishEvent)event;
//verify that the artifact being publish was in the expected set. set the 'currentTestCase'
//pointer so that the resolver and post-publish trigger can check against it.
Artifact artifact = startEvent.getArtifact();
assertNotNull("event defines artifact", artifact);
PublishTestCase currentTestCase = (PublishTestCase)test.expectedPublications.remove(artifact.getId());
assertNotNull("artifact " + artifact.getId() + " was expected for publication", currentTestCase);
assertFalse("current publication has not been visited yet", currentTestCase.preTriggerFired);