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