-
- @Test(expected = UnsupportedOperationException.class)
- public void constructTest() throws Throwable {
- final Constructor<TypeUtils> constructor = TypeUtils.class.getDeclaredConstructor();
- constructor.setAccessible(true);
- try {
- constructor.newInstance();
- } catch (Exception e) {
- throw e.getCause();
- }
- }