@Test
public void parsesGivenSourceToTemplates() throws Exception {

    try (InputStream testXslResource = Thread.currentThread().getContextClassLoader().getResourceAsStream("xslt/book.xsl")) {
        Source source = new StreamSource(testXslResource);
        Templates templates = templatesParser.parseTemplates(source);
        assertNotNull(templates);
    }
}