@Test
public void shouldReturnFailureForFlatMapOfFailed() {

  assertThat(FAILURE_WITH_THROWABLE.ifSucceededAttemptMap(mockSucceededValueFunction),
      sameInstance(FAILURE_WITH_THROWABLE));
  verifyZeroInteractions(mockSucceededValueFunction);
}