public void isPresent() {
    ObjectChecker.verifyCheck("\nExpected: Optional.of(*)" +
        "\n     but: was Optional.absent()",
        optionalValue.isPresent());
  }
The optional match wrapper.
@param <T> the generic type
testing/src/org/immutables/check/OptionalChecker.java