@Test
@SuppressWarnings("unchecked")
public void shouldReturnFailureForAttemptMergeFromOfFailed() {

  assertThat(FAILURE_WITH_THROWABLE.ifSucceededAttemptMergeFrom(mockSupplier, mockAttemptMerger),
      sameInstance((Result) FAILURE_WITH_THROWABLE));
  verifyZeroInteractions(mockValueFunction);
  verifyZeroInteractions(mockSupplier);
}