@Test
public void alreadyExists() {

  Truth.assertThat(createException(Code.ALREADY_EXISTS))
      .isInstanceOf(AlreadyExistsException.class);
  Truth.assertThat(createExceptionWithMessage(Code.ALREADY_EXISTS))
      .isInstanceOf(AlreadyExistsException.class);
}