DeleteAsyncOperationTask implements IDatabaseTask { @Override public void execute() throws TaskExecutionException { deleteTask.execute(); } DeleteAsyncOperationTask(final IStorageConnection connection); @Override void prepare(final IObject query); @Override void execute();  }
@Test public void MustCorrectExecute() throws TaskExecutionException, ReadValueException, InvalidArgumentException, TaskPrepareException, ResolutionException { MustCorrectPrepare(); testTask.execute(); verify(targetTask).execute(); }