### Question:
SchematronResourcePure extends AbstractSchematronResource { public boolean isValidSchematron () { try { final IPSErrorHandler aErrorHandler = m_aErrorHandler != null ? m_aErrorHandler : new DoNothingPSErrorHandler (); return getOrCreateBoundSchema ().getOriginalSchema ().isValid (aErrorHandler); } catch (final RuntimeException ex) { return false; } } SchematronResourcePure(@Nonnull final IReadableResource aResource);  SchematronResourcePure(@Nonnull final IReadableResource aResource, final boolean bLenient);  SchematronResourcePure(@Nonnull final IReadableResource aResource,
                                 @Nullable final String sPhase,
                                 @Nullable final IPSErrorHandler aErrorHandler);  SchematronResourcePure(@Nonnull final IReadableResource aResource,
                                 @Nullable final String sPhase,
                                 @Nullable final IPSErrorHandler aErrorHandler,
                                 final boolean bLenient); @Nullable final String getPhase(); @Nonnull final SchematronResourcePure setPhase(@Nullable final String sPhase); @Nullable final IPSErrorHandler getErrorHandler(); @Nonnull final SchematronResourcePure setErrorHandler(@Nullable final IPSErrorHandler aErrorHandler); @Nullable final IPSValidationHandler getCustomValidationHandler(); @Nonnull final SchematronResourcePure setCustomValidationHandler(@Nullable final IPSValidationHandler aCustomValidationHandler); @Nullable final XPathVariableResolver getVariableResolver(); @Nullable final XPathFunctionResolver getFunctionResolver(); @Nonnull final SchematronResourcePure setXPathConfig(@Nonnull final IXPathConfig aXPathConfig); @Nonnull SchematronResourcePure setEntityResolver(@Nullable final EntityResolver aEntityResolver); @Nonnull IPSBoundSchema getOrCreateBoundSchema(); boolean isValidSchematron(); void validateCompletely(); void validateCompletely(@Nonnull final IPSErrorHandler aErrorHandler); @Nonnull EValidity getSchematronValidity(@Nonnull final Node aXMLNode, @Nullable final String sBaseURI); @Nonnull SchematronOutputType applySchematronValidationToSVRL(@Nonnull final Node aXMLNode,
                                                               @Nullable final String sBaseURI); @Nullable Document applySchematronValidation(@Nonnull final Node aXMLNode, @Nullable final String sBaseURI); @Nonnull static SchematronResourcePure fromClassPath(@Nonnull @Nonempty final String sSCHPath); @Nonnull static SchematronResourcePure fromFile(@Nonnull @Nonempty final String sSCHPath); @Nonnull static SchematronResourcePure fromFile(@Nonnull final File aSCHFile); @Nonnull static SchematronResourcePure fromURL(@Nonnull @Nonempty final String sSCHURL); @Nonnull static SchematronResourcePure fromURL(@Nonnull final URL aSCHURL); @Nonnull static SchematronResourcePure fromInputStream(@Nonnull final InputStream aSchematronIS); @Nonnull static SchematronResourcePure fromByteArray(@Nonnull final byte [] aSchematron); @Nonnull static SchematronResourcePure fromString(@Nonnull final String sSchematron, @Nonnull final Charset aCharset); @Nonnull static SchematronResourcePure fromSchema(@Nonnull final PSSchema aSchematron);  }### Answer:
@Test public void testBasic () throws Exception { for (final IReadableResource aRes : SchematronTestHelper.getAllValidSchematronFiles ()) { final SchematronResourcePure aResPure = new SchematronResourcePure (aRes); assertTrue (aRes.getPath (), aResPure.isValidSchematron ()); } }