From 3a4edeeabe94bc791554ee4f1ec7cc69e0e9ea91 Mon Sep 17 00:00:00 2001 From: eugenp Date: Tue, 19 Nov 2013 21:04:22 +0200 Subject: [PATCH 1/2] http client examples cleanup --- .../src/test/java/org/baeldung/mockito/HttpClientLiveTest.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/httpclient/src/test/java/org/baeldung/mockito/HttpClientLiveTest.java b/httpclient/src/test/java/org/baeldung/mockito/HttpClientLiveTest.java index 8c478c334e..064ace1d2c 100644 --- a/httpclient/src/test/java/org/baeldung/mockito/HttpClientLiveTest.java +++ b/httpclient/src/test/java/org/baeldung/mockito/HttpClientLiveTest.java @@ -63,7 +63,7 @@ public class HttpClientLiveTest { @Test public final void whenExecutingBasicGetRequest_thenNoExceptions() throws ClientProtocolException, IOException { - instance.execute(new HttpGet(SAMPLE_URL)); + response = instance.execute(new HttpGet(SAMPLE_URL)); } @Test From 152132b1d54a5d0aeb068e7588268976afa340ab Mon Sep 17 00:00:00 2001 From: eugenp Date: Sun, 24 Nov 2013 20:09:17 +0200 Subject: [PATCH 2/2] documentation cleanup --- guava/README.md | 5 ++++- httpclient/README.md | 4 ++-- mockito/README.md | 1 + 3 files changed, 7 insertions(+), 3 deletions(-) diff --git a/guava/README.md b/guava/README.md index d6d3ef275d..3b9a2800d6 100644 --- a/guava/README.md +++ b/guava/README.md @@ -1,8 +1,11 @@ ========= -## Guava Cookbooks and Examples +## Guava and Hamcrest Cookbooks and Examples ### Relevant Articles: - [Guava Collections Cookbook](http://www.baeldung.com/guava-collections) +- [Guava Ordering Cookbook](http://www.baeldung.com/guava-order) +- [Guava Functional Cookbook](http://www.baeldung.com/guava-functions-predicates) +- [Hamcrest Collections Cookbook](http://www.baeldung.com/hamcrest-collections-arrays) diff --git a/httpclient/README.md b/httpclient/README.md index a480372c5f..9076302992 100644 --- a/httpclient/README.md +++ b/httpclient/README.md @@ -1,7 +1,7 @@ ========= -## Mockito Cookbooks and Examples +## HttpClient 4.x Cookbooks and Examples ### Relevant Articles: - +- [HttpClient 4 Cookbook](http://www.baeldung.com/httpclient4) diff --git a/mockito/README.md b/mockito/README.md index 3479832586..5ecc5722b0 100644 --- a/mockito/README.md +++ b/mockito/README.md @@ -5,4 +5,5 @@ ### Relevant Articles: - [Mockito Verify Cookbook](http://www.baeldung.com/mockito-verify) +- [Mockito When/Then Cookbook](http://www.baeldung.com/mockito-behavior)