We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c976fa3 commit bf8fa6eCopy full SHA for bf8fa6e
org.springframework.core/src/test/java/org/springframework/core/io/ResourceTests.java
@@ -232,17 +232,4 @@ public String getDescription() {
232
assertThat(resource.contentLength(), is(3L));
233
}
234
235
- @Test(expected=IllegalStateException.class)
236
- public void testContentLength_withNullInputStream() throws IOException {
237
- AbstractResource resource = new AbstractResource() {
238
- public InputStream getInputStream() throws IOException {
239
- return null;
240
- }
241
- public String getDescription() {
242
243
244
- };
245
- resource.contentLength();
246
247
-
248
0 commit comments