diff --git a/query/src/test/java/org/infinispan/query/backend/KeyTransformationHandlerTest.java b/query/src/test/java/org/infinispan/query/backend/KeyTransformationHandlerTest.java
index <HASH>..<HASH> 100644
--- a/query/src/test/java/org/infinispan/query/backend/KeyTransformationHandlerTest.java
+++ b/query/src/test/java/org/infinispan/query/backend/KeyTransformationHandlerTest.java
@@ -134,7 +134,7 @@ public class KeyTransformationHandlerTest {
    public void testStringToKeyWithInvalidTransformer() {
       ClassLoader contextClassLoader = Thread.currentThread().getContextClassLoader();
 
-      key = keyTransformationHandler.stringToKey("T:org.infinispan.SomeTransformer:key1", contextClassLoader);
+      key = keyTransformationHandler.stringToKey("T:org.infinispan.InexistentTransformer:key1", contextClassLoader);
    }
 
    public void testStringToKeyWithCustomTransformable() {
ISPN-<I> Make it easier to spot expected exceptions in the test