@Override
  public Object apply(Object input) {
    return PropertyOrFieldSupport.EXTRACTION.getValueOf(propertyOrFieldName, input);
  }
@Test
  void should_throw_exception_if_no_object_is_given() {
    // GIVEN
    ByNameSingleExtractor underTest = new ByNameSingleExtractor("id");
    // WHEN
    Throwable thrown = catchThrowable(() -> underTest.apply(null));
    // THEN
    then(thrown).isInstanceOf(IllegalArgumentException.class);
  }