@Test
public void testOf_instantiation_fail() {

    Exception ex = assertThrows(IllegalArgumentException.class,
            () -> CodePoints.of(AbstractCodePoints.class));
    assertThat(ex.getMessage(), is(
            "exception occurred while initializing"));
}