@Test
public void testResumeContainerEvent()
    throws IllegalArgumentException, IllegalAccessException, IOException {

  Map<ContainerId, ContainerLaunch> dummyMap = Collections
      .synchronizedMap(new HashMap<ContainerId, ContainerLaunch>());
  dummyMap.put(containerId, containerLaunch);
  Whitebox.setInternalState(spy, "running", dummyMap);
  when(event.getType())
      .thenReturn(ContainersLauncherEventType.RESUME_CONTAINER);
  doNothing().when(containerLaunch).resumeContainer();
  spy.handle(event);
  assertEquals(1, dummyMap.size());
  Mockito.verify(containerLaunch, Mockito.times(1)).resumeContainer();
}