@Test
public void testGetContainerStatus() throws Exception {

  for (DockerContainerStatus status : DockerContainerStatus.values()) {
    when(mockExecutor.executePrivilegedOperation(eq(null),
        any(PrivilegedOperation.class), eq(null), any(), eq(true), eq(false)))
        .thenReturn(status.getName());
    assertEquals(status, DockerCommandExecutor.getContainerStatus(
        MOCK_CONTAINER_ID, mockExecutor, nmContext));
  }
}