@Test
public void shouldApplyFunctionForAttemptMergeFromOfSuccess() {

  assertThat(SUCCESS_WITH_VALUE.ifSucceededAttemptMergeFrom(mockSupplier, mockAttemptMerger),
      equalTo(SUCCESS_WITH_FLOAT_VALUE));
  verify(mockAttemptMerger).merge(VALUE, STRING_VALUE);
}