static JavaType constructType(Type type) {
        try {
            return constructTypeInner(type);
        } catch (Exception e) {
            throw new InvalidDataTableTypeException(type, e);
        }
    }
@Test
    void optional_is_optional_type() {
        JavaType javaType = TypeFactory.constructType(OPTIONAL_NUMBER);
        assertThat(javaType.getClass(), equalTo(TypeFactory.OptionalType.class));
        assertThat(javaType.getOriginal(), is(OPTIONAL_NUMBER));
    }