### Question:
XSLTJaxbProvider extends JAXBElementProvider<T> { @Override public boolean isReadable(Class<?> type, Type genericType, Annotation[] anns, MediaType mt) { if (!super.isReadable(type, genericType, anns, mt)) { return false; } if (InjectionUtils.isSupportedCollectionOrArray(type)) { return supportJaxbOnly; } if (inClassCanBeHandled(type.getName()) || inClassesToHandle == null && !supportJaxbOnly) { return inTemplatesAvailable(type, anns, mt); } return supportJaxbOnly; }  void setSupportJaxbOnly(boolean support); @Override boolean isReadable(Class<?> type, Type genericType, Annotation[] anns, MediaType mt); @Override boolean isWriteable(Class<?> type, Type genericType, Annotation[] anns, MediaType mt); void setOutTemplate(String loc); void setInTemplate(String loc); void setInMediaTemplates(Map<String, String> map); void setOutMediaTemplates(Map<String, String> map); void setResolver(URIResolver resolver); void setSystemId(String system); void setInParameters(Map<String, Object> inParams); void setOutParameters(Map<String, Object> outParams); void setInProperties(Map<String, String> inProps); void setOutProperties(Map<String, String> outProps); void setInClassNames(List<String> classNames); boolean inClassCanBeHandled(String className); void setOutClassNames(List<String> classNames); boolean outClassCanBeHandled(String className); void setRefreshTemplates(boolean refresh); void setSecureProcessing(boolean secureProcessing);  }### Answer:
@Test public void testIsReadable() throws Exception { XSLTJaxbProvider<Book> provider = new XSLTJaxbProvider<>(); provider.setInTemplate(TEMPLATE_LOCATION); provider.isReadable(Book.class, Book.class, null, MediaType.APPLICATION_XML_TYPE); }