public class StageRunnerTest {
@Test
public void testDestroy() throws Exception {
StageDestroyer sd = new StageDestroyer();
Process p = Mockito.mock(Process.class);
sd.add(p);
StageGroup group = new StageGroup("group");
Stage mockedStage = Mockito.mock(Stage.class);
group.addStage(mockedStage);
Mockito.when(mockedStage.getProperties()).thenReturn(new HashMap<String, Object>());