ResourceRegion fits better in core.io.support (next to EncodedResource)

Issue: SPR-14221
This commit is contained in:
Juergen Hoeller
2016-05-06 12:02:51 +02:00
parent e5dbe12e85
commit 42d32ba396
7 changed files with 59 additions and 47 deletions

View File

@@ -14,12 +14,14 @@
* limitations under the License.
*/
package org.springframework.core.io;
import static org.mockito.Mockito.mock;
package org.springframework.core.io.support;
import org.junit.Test;
import org.springframework.core.io.Resource;
import static org.mockito.Mockito.*;
/**
* Unit tests for the {@link ResourceRegion} class.
*
@@ -41,4 +43,5 @@ public class ResourceRegionTests {
public void shouldThrowExceptionForNegativeCount() {
new ResourceRegion(mock(Resource.class), 0, -1);
}
}