@Test
public void shouldApplyFunctionForMapOfSuccess() {

  assertThat(SUCCESS_WITH_OTHER_VALUE.ifSucceededMap(mockValueFunction),
      equalTo(SUCCESS_WITH_VALUE));
  verify(mockValueFunction).apply(OTHER_VALUE);
}