Event extends Component { public void setDependency(ExecutionState dependency) { this.dependency = dependency; firePropertyChange(); } Event();  Event(Event event);  Event(String name, String description, ExecutionState dependency, Distribution probability, ExecutionState executionState); void deepOverwrite(Event sourceEvent); ExecutionState getDependency(); void setDependency(ExecutionState dependency); Distribution getProbability(); void setProbability(Distribution probability); ExecutionState getExecutionState(); void setExecutionState(ExecutionState executionState);  }
@Test public void testSetDependency() { event.setDependency(ExecutionState.EXECUTED); assertEquals(ExecutionState.EXECUTED, event.getDependency()); }