### Question:
OMKeyDeleteRequest extends OMKeyRequest { @Override public OMRequest preExecute(OzoneManager ozoneManager) throws IOException { DeleteKeyRequest deleteKeyRequest = getOmRequest().getDeleteKeyRequest(); Preconditions.checkNotNull(deleteKeyRequest); OzoneManagerProtocolProtos.KeyArgs keyArgs = deleteKeyRequest.getKeyArgs(); OzoneManagerProtocolProtos.KeyArgs.Builder newKeyArgs = keyArgs.toBuilder().setModificationTime(Time.now()) .setKeyName(validateAndNormalizeKey( ozoneManager.getEnableFileSystemPaths(), keyArgs.getKeyName())); return getOmRequest().toBuilder() .setDeleteKeyRequest(deleteKeyRequest.toBuilder() .setKeyArgs(newKeyArgs)).setUserInfo(getUserInfo()).build(); } OMKeyDeleteRequest(OMRequest omRequest); @Override OMRequest preExecute(OzoneManager ozoneManager); @Override @SuppressWarnings("methodlength") OMClientResponse validateAndUpdateCache(OzoneManager ozoneManager,
      long trxnLogIndex, OzoneManagerDoubleBufferHelper omDoubleBufferHelper);  }### Answer:
@Test public void testPreExecute() throws Exception { doPreExecute(createDeleteKeyRequest()); }