@Test
public void testReapContainer() throws Exception {

  Container container = mock(Container.class);
  LinuxContainerRuntime containerRuntime = mock(LinuxContainerRuntime.class);
  LinuxContainerExecutor lce = spy(new LinuxContainerExecutor(
      containerRuntime));
  ContainerReapContext.Builder builder =  new ContainerReapContext.Builder();
  builder.setContainer(container).setUser("foo");
  ContainerReapContext ctx = builder.build();
  lce.reapContainer(ctx);
  verify(lce, times(1)).reapContainer(ctx);
  verify(lce, times(1)).postComplete(any());
}