@Test
public void outOfRange() {

  Truth.assertThat(createException(Code.OUT_OF_RANGE)).isInstanceOf(OutOfRangeException.class);
  Truth.assertThat(createExceptionWithMessage(Code.OUT_OF_RANGE))
      .isInstanceOf(OutOfRangeException.class);
}