diff --git a/xml/src/test/java/org/springframework/xml/validation/XmlValidatorFactoryTest.java b/xml/src/test/java/org/springframework/xml/validation/XmlValidatorFactoryTest.java index 45403bfd..d34d4cca 100644 --- a/xml/src/test/java/org/springframework/xml/validation/XmlValidatorFactoryTest.java +++ b/xml/src/test/java/org/springframework/xml/validation/XmlValidatorFactoryTest.java @@ -26,6 +26,7 @@ import junit.framework.TestCase; import org.springframework.core.io.ClassPathResource; import org.springframework.core.io.Resource; +import org.springframework.core.io.AbstractResource; public class XmlValidatorFactoryTest extends TestCase { @@ -57,7 +58,7 @@ public class XmlValidatorFactoryTest extends TestCase { } } - private static class NonExistentResource implements Resource { + private static class NonExistentResource extends AbstractResource { public Resource createRelative(String relativePath) throws IOException { throw new IOException();