@Override
    public String toString() {
        return "GateKeeper [" + gate + ", entered=" + entered() + ", exited=" + exited() + "]";
    }
Utility class to control entry and exit points.
plc4j/spi/src/test/java/org/apache/plc4x/java/spi/connection/GateKeeper.java