@Test
public void unauthenticated() {

  Truth.assertThat(createException(Code.UNAUTHENTICATED))
      .isInstanceOf(UnauthenticatedException.class);
  Truth.assertThat(createExceptionWithMessage(Code.UNAUTHENTICATED))
      .isInstanceOf(UnauthenticatedException.class);
}