static JavaType constructType(Type type) {
        try {
            return constructTypeInner(type);
        } catch (Exception e) {
            throw new InvalidDataTableTypeException(type, e);
        }
    }
@Test
    void raw_list_should_equal_a_list_of_objects() {
        JavaType javaType = TypeFactory.constructType(List.class);
        JavaType other = TypeFactory.constructType(LIST_OF_OBJECT);
        assertThat(javaType, equalTo(other));
    }