@Test
public void testValidSwaggerFile() throws Exception {

	File jsonFile = this.folder.newFile();
	GenerateSwaggerJsonForWebSockets gen = new GenerateSwaggerJsonForWebSockets();
	gen.generate( "v1", jsonFile );
	Swagger swagger = ValidateSwaggerJsonFiles.validate( jsonFile );
	Assert.assertEquals( GenerateSwaggerJsonForWebSockets.NAME_TO_DESC.size(), swagger.getPaths().size());
}