@Test
public void truncatesFieldToColumnAnnotationLengthWhenStringTooLong() {

    // given
    var facilityName = "Dortmund";
    var modelName = "";
    var productionDate = LocalDate.of(2019, 4, 23);
    var car = new Car(productionDate, facilityName, modelName, null);
    // when
    var truncatedCar = FieldTruncationUtils.truncateStringsToColumnLengths(car);
    // then
    assertThat(truncatedCar).isEqualTo(car);
}