@Test
	public void mapperTest(){
		String[] ext = {"ttl", "rdf", "as", "nt", "n3"};
		String[] format = {"TURTLE",  "RDF/XML", "as", "N-TRIPLE",  "N3"};
		String[] cot = {"application/x-turtle", "application/rdf+xml",
				"as", "text/plain", "text/rdf+n3"};
		String ct, ex1, ex2, fo, fo2;
		for(int i=0; i<ext.length;i++){
			try{
			ct = FileExtensionToRDFContentTypeMapper.guessContentType(
					FileExtensionToRDFContentTypeMapper.Extension.valueOf(ext[i]));
			fo = FileExtensionToRDFContentTypeMapper.guessFileFormat(cot[i]);
			fo2 = FileExtensionToRDFContentTypeMapper.guessFileFormat(
					FileExtensionToRDFContentTypeMapper.Extension.valueOf(ext[i]));
			ex1 = FileExtensionToRDFContentTypeMapper.guessFileExtensionFromFormat(format[i]);
			ex2 = FileExtensionToRDFContentTypeMapper.guessFileExtension(cot[i]);
			assertEquals(fo, fo2);
			assertEquals(ex1, ex2);
			switch(ext[i]){
			
			case("ttl"):
				assertEquals(ct, "application/x-turtle");
				assertEquals(fo2, "TURTLE");
				assertEquals(ex2, "ttl");
				break;
			case("rdf"):
				assertEquals(ct, "application/rdf+xml");
				assertEquals(fo2, "RDF/XML");
				assertEquals(ex2, "rdf");
				break;
			case("nt"):
				assertEquals(ct, "text/plain");
				assertEquals(fo2, "N-TRIPLE");
				break;
			case("n3"):
				assertEquals(ct, "text/rdf+n3");
				assertEquals(fo2, "N3");
				assertEquals(ex2, "n3");
				break;
			case("as"):
				assertEquals(ct, "text/plain");
				assertEquals(fo2, "PLAIN-TEXT");
				assertEquals(ex2, "txt");
				break;
			}
			}
			catch(Exception e){
				e.printStackTrace();
			}
		}
	}