| 1 | version: 1 |
| 2 | style: unit |
| 3 | description: must destroy checked in connection if pool has been closed |
| 4 | operations: |
| 5 | - name: ready |
| 6 | - name: checkOut |
| 7 | label: conn |
| 8 | - name: close |
| 9 | - name: checkIn |
| 10 | connection: conn |
| 11 | events: |
| 12 | - type: ConnectionCheckedOut |
| 13 | connectionId: 1 |
| 14 | address: 42 |
| 15 | - type: ConnectionPoolClosed |
| 16 | address: 42 |
| 17 | - type: ConnectionCheckedIn |
| 18 | connectionId: 1 |
| 19 | address: 42 |
| 20 | - type: ConnectionClosed |
| 21 | connectionId: 1 |
| 22 | reason: poolClosed |
| 23 | address: 42 |
| 24 | ignore: |
| 25 | - ConnectionPoolCreated |
| 26 | - ConnectionPoolReady |
| 27 | - ConnectionCreated |
| 28 | - ConnectionReady |
| 29 | - ConnectionCheckOutStarted |