@Test
public void deadlineExceeded() {

  Truth.assertThat(createException(Code.DEADLINE_EXCEEDED))
      .isInstanceOf(DeadlineExceededException.class);
  Truth.assertThat(createExceptionWithMessage(Code.DEADLINE_EXCEEDED))
      .isInstanceOf(DeadlineExceededException.class);
}