diff --git a/components/sbm-core/src/test/java/org/springframework/sbm/project/TestDummyResource.java b/components/sbm-core/src/test/java/org/springframework/sbm/project/TestDummyResource.java index ff0e60835..fadcad3a9 100644 --- a/components/sbm-core/src/test/java/org/springframework/sbm/project/TestDummyResource.java +++ b/components/sbm-core/src/test/java/org/springframework/sbm/project/TestDummyResource.java @@ -62,7 +62,7 @@ private File getFile(TestDummyResource testDummyResource) { @Override public long contentLength() { - throw new UnsupportedOperationException(); + return content.length(); } @Override