@Test
public void testRunOutOfTime() throws Exception {

  ListenableFuture<MutateRowResponse> rowFuture = underTest.add(createRequestEntry());
  setResponse(Status.DEADLINE_EXCEEDED);
  Assert.assertTrue(rowFuture.isDone());
  try {
    rowFuture.get();
    Assert.fail("Expected exception");
  } catch (ExecutionException e) {
    Assert.assertEquals(Status.DEADLINE_EXCEEDED.getCode(), Status.fromThrowable(e).getCode());
  }
  Assert.assertFalse(operationAccountant.hasInflightOperations());
}