### Question:
AAIObjectType implements AAIObjectBase, AAIObjectName, GraphInventoryObjectType, Serializable { public static AAIObjectType fromTypeName(String name, String uri) { return new AAIFluentTypeReverseLookup().fromName(name, uri); } protected  AAIObjectType(); protected  AAIObjectType(String parentUri, String partialUri, String name);  AAIObjectType(String parentUri, String partialUri, String name, boolean register); protected  AAIObjectType(String parentUri, Class<?> aaiObjectClass); @Override String toString(); static AAIObjectType fromTypeName(String name, String uri); static AAIObjectType fromTypeName(String name); @Override String typeName(); @Override String typeName(CaseFormat format); @Override String uriTemplate(); @Override String partialUri(); @Override int hashCode(); @Override boolean equals(Object o); static final AAIObjectType GENERIC_QUERY; static final AAIObjectType BULK_PROCESS; static final AAIObjectType SINGLE_TRANSACTION; static final AAIObjectType NODES_QUERY; static final AAIObjectType CUSTOM_QUERY; static final AAIObjectType UNKNOWN; static final AAIObjectType DSL; static final AAIObjectType SUB_L_INTERFACE; }### Answer:
@Test public void fromTypeNameTest() throws IllegalArgumentException, IllegalAccessException, InstantiationException { AAIObjectType type = AAIObjectType.fromTypeName("generic-query"); assertEquals("generic-query", type.typeName()); }