@Test
public void testUnlockFileSet() throws Exception {

  doNothing().when(zk).delete(anyString(), anyInt());
  ArgumentCaptor<String> pathCaptor = ArgumentCaptor.forClass(String.class);
  ArgumentCaptor<Integer> versionCaptor = ArgumentCaptor.forClass(Integer.class);
  zkManager.unlockFileSet(FILE_SET);
  verify(zk).delete(pathCaptor.capture(), versionCaptor.capture());
  assertEquals(FILE_SET_LOCK_PATH, pathCaptor.getValue());
  assertEquals(new Integer(-1), versionCaptor.getValue());
}