class OptionalShouldBePresent extends BasicErrorMessageFactory {

  public static <T> ErrorMessageFactory shouldBePresent(final Optional<T> actual) {<FILL_FUNCTION_BODY>}

  private OptionalShouldBePresent(final String format, final Object... arguments) {
    super(format, arguments);
  }

}

    return new OptionalShouldBePresent(
                                       "Expecting Optional to contain a non-null instance but contained nothing (absent Optional)",
                                       actual);
  
<methods>public transient void <init>(java.lang.String, java.lang.Object[]) ,public java.lang.String create(org.assertj.core.description.Description, org.assertj.core.presentation.Representation) ,public java.lang.String create(org.assertj.core.description.Description) ,public java.lang.String create() ,public boolean equals(java.lang.Object) ,public int hashCode() ,public java.lang.String toString() <variables>protected final non-sealed java.lang.Object[] arguments,protected final non-sealed java.lang.String format,org.assertj.core.error.MessageFormatter formatter