@Test
void fromJSON() {

    assertThatThrownBy(() -> reader.fromJSON(String.class, new byte[0]))
            .isInstanceOf(Error.class)
            .hasMessageContaining("bean class must not be java built-in class");
}