@Test
public void shouldApplyFunctionForMergeOfSuccess() {

  assertThat(SUCCESS_WITH_VALUE.ifSucceededMerge(STRING_VALUE, mockMerger),
      equalTo(SUCCESS_WITH_FLOAT_VALUE));
  verify(mockMerger).merge(VALUE, STRING_VALUE);
}