### Question:
SpecificationClassInspector extends DataMapperBaseInspector<JsonNode> { @Override protected String fetchJsonFor(final String fullyQualifiedName, final Context<JsonNode> context) throws IOException { final JsonNode classNode = findClassNode(fullyQualifiedName, context.getState()); final JsonNode javaClass = JsonNodeFactory.instance.objectNode().set("JavaClass", classNode); return JsonUtils.writer().writeValueAsString(javaClass); } @Autowired  SpecificationClassInspector();   }### Answer:
@Test public void shouldFindNestedClassesWithinFullJson() throws IOException { final SpecificationClassInspector inspector = new SpecificationClassInspector(); final String specification = read("/twitter4j.Status.full.json"); final Context<JsonNode> context = new Context<>(JsonUtils.reader().readTree(specification)); final String json = inspector.fetchJsonFor("twitter4j.GeoLocation", context); assertThatJson(json).isEqualTo(read("/twitter4j.GeoLocation.json")); }