INTEGRITY_CLOSED
lastDescriptorWasClosed = descriptor->integrity_type() == INTEGRITY_CLOSED;
case INTEGRITY_CLOSED: