@Test public void testGetDefaultDescription() throws Exception { AbstractEventTest.testValidSystemEvent(new BucketDeleteEvent(Mockito.mock(ExperimentBase.class), Mockito.mock(Bucket.class))); }
@Override public String getDefaultDescription() { return getUser().getUsername() + " deleted bucket " + bucket + " from experiment " + getExperiment(); }
BucketDeleteEvent extends AbstractEvent implements BucketEvent { @Override public String getDefaultDescription() { return getUser().getUsername() + " deleted bucket " + bucket + " from experiment " + getExperiment(); } }
BucketDeleteEvent extends AbstractEvent implements BucketEvent { @Override public String getDefaultDescription() { return getUser().getUsername() + " deleted bucket " + bucket + " from experiment " + getExperiment(); } BucketDeleteEvent(ExperimentBase experiment, Bucket bucket);  BucketDeleteEvent(UserInfo user, ExperimentBase experiment, Bucket bucket); }
BucketDeleteEvent extends AbstractEvent implements BucketEvent { @Override public String getDefaultDescription() { return getUser().getUsername() + " deleted bucket " + bucket + " from experiment " + getExperiment(); } BucketDeleteEvent(ExperimentBase experiment, Bucket bucket);  BucketDeleteEvent(UserInfo user, ExperimentBase experiment, Bucket bucket); @Override Bucket getBucket(); @Override ExperimentBase getExperiment(); @Override String getDefaultDescription(); @Override Application.Name getApplicationName(); }
BucketDeleteEvent extends AbstractEvent implements BucketEvent { @Override public String getDefaultDescription() { return getUser().getUsername() + " deleted bucket " + bucket + " from experiment " + getExperiment(); } BucketDeleteEvent(ExperimentBase experiment, Bucket bucket);  BucketDeleteEvent(UserInfo user, ExperimentBase experiment, Bucket bucket); @Override Bucket getBucket(); @Override ExperimentBase getExperiment(); @Override String getDefaultDescription(); @Override Application.Name getApplicationName();  }