@Test
public void testConvertShouldNotTrimNonBreakingSpaceEvenIfSettingsTrimIsTrue() {

    // Given:
    String data = "\u00A0test\u00A0";
    Class<?>[] parameterTypes = new Class<?>[] { String.class };
    when(dataProvider.trimValues()).thenReturn(true);
    // When:
    Object[] result = underTest.convert(data, false, parameterTypes, dataProvider, 21);
    // Then:
    assertThat(result).containsExactly("\u00A0test\u00A0");
}