### Question:
JAXBUtil { static public Schema getSchema() throws IOException, SAXException { if(JAXBUtil.schema == null){ SchemaFactory schemaFactory = SchemaFactory.newInstance(XMLConstants.W3C_XML_SCHEMA_NS_URI); URL url = (org.dmg.pmml.ObjectFactory.class).getResource("/pmml.xsd"); if(url == null){ throw new FileNotFoundException(); } JAXBUtil.schema = schemaFactory.newSchema(url); } return JAXBUtil.schema; } private  JAXBUtil(); static PMML unmarshalPMML(Source source); static Object unmarshal(Source source); static void marshalPMML(PMML pmml, Result result); static void marshal(Object object, Result result); static Schema getSchema(); static JAXBContext getContext(); static Marshaller createMarshaller(); static Unmarshaller createUnmarshaller();  }### Answer:
@Test public void hasSchema() throws Exception { Schema schema = JAXBUtil.getSchema(); assertNotNull(schema); }