@Test()
public void testInvalidInputData() throws Exception {

  try {
    // Execute the task.
    final TaskExecutor taskExecutor = getTaskExecutor(null, null);
    taskExecutor.execute();
    // This should not be reached.
    fail();
  } catch (NullPointerException e) {
    assertTrue(true);
  }
}