@Test
public void shouldReturnRecoverSuccessForAttemptRecoverOfFailure() {

  assertThat(FAILURE_WITH_THROWABLE.attemptRecover(mockAttemptRecoverValueFunction),
      equalTo(SUCCESS_WITH_VALUE));
  verify(mockAttemptRecoverValueFunction).apply(THROWABLE);
}