public String compile(final DataProvider dataProvider,
                          final String template) {
        final InputStream templateStream = this.getClass().getResourceAsStream(template);
        return compile(dataProvider,
                       templateStream);
    }
@Test
    public void testCompileIndentedKeywords() throws Exception {
        TestDataProvider tdp = new TestDataProvider( rows );
        final DataProviderCompiler converter = new DataProviderCompiler();
        final String drl = converter.compile( tdp,
                                              "/templates/rule_template_indented.drl" );
        assertThat(EXPECTED_RULES.toString()).isEqualToIgnoringWhitespace(drl);
    }