### Question:
Thing { public String getExpandedObjectType(String objectType) { if (objectType == null || objectContext == null) { return null; } String[] parts = objectType.split(":", 2); String prefix; String suffix; if (parts.length == 2) { prefix = parts[0]; suffix = parts[1]; } else { prefix = null; suffix = objectType; } String url = objectContext.getUrl(prefix); if (url != null) { return url + suffix; } else { return objectType; } } @SuppressWarnings("squid:S107")  Thing(String objectType,
          Context objectContext,
          String id,
          String title,
          Map<String, String> titles,
          String description,
          Map<String, String> descriptions,
          Map<String, P> properties,
          Map<String, A> actions,
          Map<String, E> events,
          List<Form> forms,
          List<String> security,
          Map<String, SecurityScheme> securityDefinitions,
          String base);  Thing(); String getObjectType(); Context getObjectContext(); String getTitle(); Map<String, String> getTitles(); String getDescription(); Map<String, String> getDescriptions(); List<Form> getForms(); P getProperty(String name); Map<String, A> getActions(); A getAction(String name); Map<String, E> getEvents(); E getEvent(String name); String getBase(); @Override int hashCode(); String getId(); @Override boolean equals(Object obj); @Override String toString(); String toJson(); String toJson(boolean prettyPrint); Map<String, P> getPropertiesByObjectType(String objectType); Map<String, P> getPropertiesByExpandedObjectType(String objectType); String getExpandedObjectType(String objectType); Map<String, P> getProperties(); static String randomId(); static Thing fromJson(String json); static Thing fromJson(File json); static Thing fromMap(Map<String, Map> map);  }### Answer:
@Test public void getExpandedObjectType() { Thing thing = new Thing.Builder() .setId("Foo") .setDescription("Bar") .setObjectType("Thing") .setObjectContext(new Context("http: .build(); assertEquals("https: }