@Test
public void testOf_illegal_access() throws Exception {

    Exception ex = assertThrows(IllegalArgumentException.class,
            () -> CodePoints.of(IllegalCodePoints.class));
    assertThat(ex.getMessage(), is("public default constructor not found"));
}