public void run() {
OperationPipeline archive = ArchiveOperationType.TYPE.createNewTemplate();
PipelineActivity source = archive.getFirstActivity();
PipelineActivity target = archive.getNextActivity(source);
PipelineActivity script = new ScriptActivity("Send Email");
archive.insertLast(script);
try {
archive.removeActivity(source);
fail();
} catch (RemoveActivityVetoException ex) {
// expected