/**
* Test producing and consuming an unlock operation.
* @throws Exception
*/
public void testUnlockOperation() throws Exception {
UnlockEvent event = new UnlockEvent(new NodeId(UUID.randomUUID()));
master.createLockChannel(DEFAULT_WORKSPACE).create(event.getNodeId()).ended(true);
SimpleEventListener listener = new SimpleEventListener();
slave.createLockChannel(DEFAULT_WORKSPACE).setListener(listener);
slave.sync();