Exceptions not thrown
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@943283 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
0152c00300
commit
bcfe063e96
|
@ -26,7 +26,6 @@
|
|||
*/
|
||||
package org.apache.http.client.cache.impl;
|
||||
|
||||
import java.io.IOException;
|
||||
import java.util.Date;
|
||||
|
||||
import org.apache.http.HttpEntity;
|
||||
|
@ -41,7 +40,7 @@ import org.junit.Test;
|
|||
public class TestCacheEntryGenerator {
|
||||
|
||||
@Test
|
||||
public void testEntryMatchesInputs() throws IOException {
|
||||
public void testEntryMatchesInputs() {
|
||||
|
||||
CacheEntryGenerator gen = new CacheEntryGenerator();
|
||||
|
||||
|
|
|
@ -1088,8 +1088,7 @@ public class TestCachingHttpClient {
|
|||
mockCache.putEntry(theURI, entry);
|
||||
}
|
||||
|
||||
private void generateCacheEntry(Date requestDate, Date responseDate, byte[] bytes)
|
||||
throws IOException {
|
||||
private void generateCacheEntry(Date requestDate, Date responseDate, byte[] bytes) {
|
||||
org.easymock.EasyMock.expect(
|
||||
mockEntryGenerator.generateEntry(requestDate, responseDate, mockBackendResponse,
|
||||
bytes)).andReturn(mockCacheEntry);
|
||||
|
|
Loading…
Reference in New Issue