Polishing

This commit is contained in:
Juergen Hoeller
2016-04-11 21:20:31 +02:00
parent 537193a4e0
commit b6f1afd471
3 changed files with 4 additions and 1 deletions

View File

@@ -49,10 +49,10 @@ public class MockWebResponseBuilderTests {
@Before
public void setUp() throws Exception {
this.webRequest = new WebRequest(new URL("http://example.com:80/test/this/here"));
this.responseBuilder = new MockWebResponseBuilder(System.currentTimeMillis(), this.webRequest, this.response);
}
// --- constructor
@Test(expected = IllegalArgumentException.class)
@@ -65,6 +65,7 @@ public class MockWebResponseBuilderTests {
new MockWebResponseBuilder(0L, new WebRequest(new URL("http://example.com:80/test/this/here")), null);
}
// --- build
@Test