### Question:
CompletableResultCode { public static CompletableResultCode ofFailure() { return FAILURE; } CompletableResultCode(); static CompletableResultCode ofSuccess(); static CompletableResultCode ofFailure(); static CompletableResultCode ofAll(final Collection<CompletableResultCode> codes); CompletableResultCode succeed(); CompletableResultCode fail(); boolean isSuccess(); CompletableResultCode whenComplete(Runnable action); boolean isDone(); CompletableResultCode join(long timeout, TimeUnit unit);  }### Answer:
@Test void ofFailure() { assertThat(CompletableResultCode.ofFailure().isSuccess()).isFalse(); }