Index: core/src/test/resources/configs/string-keyed-jdbc-store.xml IDEA additional info: Subsystem: com.intellij.openapi.diff.impl.patch.CharsetEP <+>UTF-8 =================================================================== --- core/src/test/resources/configs/string-keyed-jdbc-store.xml (date 1542819758000) +++ core/src/test/resources/configs/string-keyed-jdbc-store.xml (date 1542819758000) @@ -0,0 +1,25 @@ + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file Index: core/src/test/java/org/infinispan/jdbc/ConfigurationWithoutDependencyTest.java IDEA additional info: Subsystem: com.intellij.openapi.diff.impl.patch.CharsetEP <+>UTF-8 =================================================================== --- core/src/test/java/org/infinispan/jdbc/ConfigurationWithoutDependencyTest.java (date 1542820375000) +++ core/src/test/java/org/infinispan/jdbc/ConfigurationWithoutDependencyTest.java (date 1542820375000) @@ -0,0 +1,27 @@ +package org.infinispan.jdbc; + +import java.io.IOException; + +import org.infinispan.manager.DefaultCacheManager; +import org.infinispan.manager.EmbeddedCacheManager; +import org.junit.Assert; +import org.testng.annotations.Test; + +/** + * The idea of this test is demonstrate that the message does not match the real issue. + * The error message is: `ISPN000327: Cannot find a parser for element 'string-keyed-jdbc-store' in namespace ''. Check that your configuration is up-to date for this version of Infinispan.` + * + * To fix the error, you need to add `infinispan-cachestore-jdbc` as a dependency + * + * @author Diego Lovison + */ +@Test(groups = "functional", testName = "jdbc.ConfigurationWithoutDependencyTest") +public class ConfigurationWithoutDependencyTest { + + public void testConfigurationWhenDependencyDoesNotExists() throws IOException { + + EmbeddedCacheManager manager = new DefaultCacheManager("configs/string-keyed-jdbc-store.xml"); + Assert.assertTrue(manager.isRunning("jdbcCacheStore")); + + } +}