### Question:
ShutdownTask implements ConsumerTask { @Override public TaskType taskType() { return taskType; }  @Override TaskResult call(); @Override TaskType taskType(); @VisibleForTesting ShutdownReason getReason();  }### Answer:
@Test public final void testGetTaskType() { assertEquals(TaskType.SHUTDOWN, task.taskType()); }