@Test public void testForClass$named$vocabularyNamespace() throws Exception { org.ldp4j.rdf.bean.Type sut = DefinitionLoader.loadType(Control.class,manager); assertThat(sut.getNamespace(),equalTo("http: assertThat(sut.getName(),equalTo("HypermediaControl")); }
static Type loadType(Class<?> clazz, TypeManager manager) { Objects.requireNonNull(clazz,"Class cannot be null"); Objects.requireNonNull(manager,"Type manager cannot be null"); return new TypeLoader(manager).load(clazz); }
DefinitionLoader { static Type loadType(Class<?> clazz, TypeManager manager) { Objects.requireNonNull(clazz,"Class cannot be null"); Objects.requireNonNull(manager,"Type manager cannot be null"); return new TypeLoader(manager).load(clazz); } }
DefinitionLoader { static Type loadType(Class<?> clazz, TypeManager manager) { Objects.requireNonNull(clazz,"Class cannot be null"); Objects.requireNonNull(manager,"Type manager cannot be null"); return new TypeLoader(manager).load(clazz); } private  DefinitionLoader(); }
DefinitionLoader { static Type loadType(Class<?> clazz, TypeManager manager) { Objects.requireNonNull(clazz,"Class cannot be null"); Objects.requireNonNull(manager,"Type manager cannot be null"); return new TypeLoader(manager).load(clazz); } private  DefinitionLoader();  }
DefinitionLoader { static Type loadType(Class<?> clazz, TypeManager manager) { Objects.requireNonNull(clazz,"Class cannot be null"); Objects.requireNonNull(manager,"Type manager cannot be null"); return new TypeLoader(manager).load(clazz); } private  DefinitionLoader();   }