public static <T> T checkFound(@Nullable T value, String message, Object... messageArguments) {
    if (value == null) {
      throw new NotFoundException(format(message, messageArguments));
    }

    return value;
  }
@Test
  public void checkFound_return_parameter_if_parameter_is_not_null() {
    String message = randomAlphabetic(12);
    Object o = new Object();

    assertThat(checkFound(o, message)).isSameAs(o);
  }