ResourceRegion fits better in core.io.support (next to EncodedResource)
Issue: SPR-14221
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user