evrythng/evrythng-java-wrapper — pull request #1 by jpvetterli (2012-08-30 08:50:37+00:00)
Title: Meta errors in tests when forgetting to set the TOKEN or using a wrong TOKEN.

Test output before the fix:
```...
Tests in error:
testSearch(net.evrythng.thng.api.wrapper.tests.SearchTest): A JSONArray text must start with '[' at character 1 of {"message":"Authentication Failed"}
testSearchByQuery(net.evrythng.thng.api.wrapper.tests.SearchTest): A JSONArray text must start with '[' at character 1 of {"message":"Authentication Failed"}
testSearchByGeocode(net.evrythng.thng.api.wrapper.tests.SearchTest): A JSONArray text must start with '[' at character 1 of {"message":"Authentication Failed"}
...
```
Test output after the fix:
```...
Tests in error:
testSearch(net.evrythng.thng.api.wrapper.tests.SearchTest): HTTP/1.1 401 Unauthorized (Authentication Failed)
testSearchByQuery(net.evrythng.thng.api.wrapper.tests.SearchTest): HTTP/1.1 401 Unauthorized (Authentication Failed)
testSearchByGeocode(net.evrythng.thng.api.wrapper.tests.SearchTest): HTTP/1.1 401 Unauthorized (Authentication Failed)
...
```