@Test
public void testParseControllerDocumentation() {
Map<String, ApiListing> documentList = createApiParser().createApiListings();
for (String key : documentList.keySet()) {
ApiListing documentation = documentList.get(key);
ScalaObjectMapper mapper = new ScalaObjectMapper();
try {
String documentationAsJSON = mapper.writeValueAsString(documentation);
System.out.println(documentationAsJSON);
ApiListing documentationDeserialized = JsonSerializer.asApiListing(documentationAsJSON);
assertNotNull(documentationDeserialized);
assertTrue(documentationDeserialized.swaggerVersion().equals(SwaggerSpec.version()));
assertTrue(documentationDeserialized.apiVersion().equals("v1"));