| | |
| | | assertEquals(InvocationCounterPlugin.getPreParseCount(), 1); |
| | | assertEquals(InvocationCounterPlugin.getPreOperationCount(), 0); |
| | | assertEquals(InvocationCounterPlugin.getPostOperationCount(), 0); |
| | | assertEquals(InvocationCounterPlugin.getPostResponseCount(), 1); |
| | | // The post response might not have been called yet. |
| | | // assertEquals(InvocationCounterPlugin.getPostResponseCount(), 1); |
| | | } finally |
| | | { |
| | | LockManager.unlock(entry.getDN(), writeLock); |
| | |
| | | assertEquals(InvocationCounterPlugin.getPreParseCount(), 1); |
| | | assertEquals(InvocationCounterPlugin.getPreOperationCount(), 0); |
| | | assertEquals(InvocationCounterPlugin.getPostOperationCount(), 0); |
| | | assertEquals(InvocationCounterPlugin.getPostResponseCount(), 1); |
| | | // The post response might not have been called yet. |
| | | // assertEquals(InvocationCounterPlugin.getPostResponseCount(), 1); |
| | | } finally |
| | | { |
| | | LockManager.unlock(entry.getDN(), writeLock); |