@Test(expected = IllegalArgumentException.class)
public void testNotDone() {

  OperationFutures.immediateOperationFuture(
      FakeOperationSnapshot.newBuilder()
          .setName("required")
          .setDone(false)
          .setErrorCode(FakeStatusCode.of(StatusCode.Code.OK))
          .build());
}