@Test
public void testDuplicateRowCallable() throws IOException {

  ConcurrentRowCallables<byte[]> callables = new ConcurrentRowCallables<byte[]>(threadPool);
  callables.addCallable(new TimeoutRowCallable(TABLENAME, ROW));
  callables.addCallable(new TimeoutRowCallable(TABLENAME, ANOTHER_ROW));
  callables.addCallable(new TimeoutRowCallable(TABLENAME, ANOTHER_FAMILY));
  callables.addCallable(new TimeoutRowCallable(TABLENAME, ANOTHER_QUALIFIER));
  try {
    // duplicated with futures
    callables.addCallable(new TimeoutRowCallable(TABLENAME, ROW));
    Assert.fail();
  } catch (ThemisFatalException e) {}
  try {
    callables.addCallable(new TimeoutRowCallable(TABLENAME, ANOTHER_QUALIFIER));
    Assert.fail();
  } catch (ThemisFatalException e) {}
}