@Test
public void verifyProcessedClasses() throws Exception {

	UpdateSwaggerJson updater = new UpdateSwaggerJson();
	updater.prepareNewDefinitions();
	Set<Class<?>> classes = new HashSet<> ();
	classes.addAll( JSonBindingUtils.getSerializers().keySet());
	classes.removeAll( updater.processedClasses );
	// These classes are used within other ones.
	// No need to add them directly in the swagger.json file.
	classes.removeAll( Arrays.asList(
			StringWrapper.class,
			MapWrapper.class,
			MappedCollectionWrapper.class,
			ApplicationBindings.class,
			WebSocketMessage.class,
			CommandHistoryItem.class
	));
	Assert.assertEquals( Collections.emptySet(), classes );
}