private void checkDraftStatusIs(final Draft.Status status, final Draft draft) {
   checkState(
       status.equals(draft.status()),
       "expected '%s' service draft status, but got '%s'",
       status,
       draft.status());
 }
 private void updateDraftStatusTo(
     final Draft.Status status, final DraftId id, final Handle handle) {
   log.debug("updating status get draft '{}' on '{}'", id.value(), status);
   final Map<String, Object> update = ImmutableMap.<String, Object>of("status", status.toString());
   updateRecord(DRAFTS_TABLE, id.value(), update, handle);
 }