@Test
public void convertValueFailParsing() {

    String integerCanonicalName = Integer.class.getCanonicalName();
    assertThatThrownBy(() -> convertValue(integerCanonicalName, "wrongValue", classLoader))
            .isInstanceOf(IllegalArgumentException.class)
            .hasMessageStartingWith("Impossible to parse 'wrongValue' as " + integerCanonicalName);
}