using isBlank method from StringUtils
Adding mockito 1.9.5 dependency
Adding test for simple GET request
Test to prove response to GET request is returned with no delimeters
Renaming misspelled method name
Test to check we fire a GET request
Test to check we fire a GET request with some Request properties set
Test to check IOException is thrown if there is a problem when getting the response back
Test to check a POST request is fired with the appropriate options
Tests to check POST request response
Test to check we disconnect after getting the response for the Post HTTP requst
Test to check we disconnect after getting the response for the Get HTTP requst
Test to check Post Request throw and exception if there are problems while getting the Response
Adding check to make sure headers are passed on POST requests
Test to check the url parameters sent on the POST request are the correct ones. Using PrintWriter instead DataOutputStream to avoid having to use final method write
Moved the creation of the APIReader overriding the createWriter to the only test where it is needed
Renamed method to keep consistency on the class and be more explicit by saying the HTTP method
Refactoring: extracting duplicated functionality to a private method
Refactoring: reformatting and renaming exception variable
Adding test to make sure we clear internal variable lastHttpResult for the response. We should get rid of this variable if we do not really need it