@Test
public void shouldApplyFunctionForAttemptMergeOfSuccess() {

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