*/
void assertNotTriggered(Result... resultHistory)
throws IOException, InterruptedException {
EmailTrigger trigger = newInstance();
AbstractBuild<?, ?> build = mockBuild(resultHistory);
assertFalse(trigger.trigger(build, getTaskListener()));
}
/**
* Creates a mock AbstractBuild with the specified history of results.
*/