### Question:
BlockOnParentShardTask implements ConsumerTask { @Override public TaskType taskType() { return taskType; }  @Override TaskResult call(); @Override TaskType taskType();  }### Answer:
@Test public final void testGetTaskType() { BlockOnParentShardTask task = new BlockOnParentShardTask(shardInfo, null, backoffTimeInMillis); assertEquals(TaskType.BLOCK_ON_PARENT_SHARDS, task.taskType()); }