XmlDefinerUtils { public TransformerFactory getSecureTransformerFactory() { return secureTransformerFactoryBuilder.build(); }  static XmlDefinerUtils getInstance(); Schema getSchema(List<Source> xsdSources); void setSchemaFactoryBuilder(SchemaFactoryBuilder schemaFactoryBuilder); SchemaFactory getSecureSchemaFactory(); void setTransformerFactoryBuilder(TransformerFactoryBuilder transformerFactoryBuilder); TransformerFactory getSecureTransformerFactory(); void setValidatorConfigurator(ValidatorConfigurator validatorConfigurator); void configure(Validator validator);  }
@Test public void getSecureTransformerFactory() throws TransformerConfigurationException { assertNotNull(XmlDefinerUtils.getInstance().getSecureTransformerFactory()); }