public void parseQueriesCollection() throws IOException {
Collection collection = parser.parse(new InputStreamReader(getClass().getResourceAsStream("/queries.json")));
assertNotNull(collection);
assertEquals(URI.create("http://example.org/friends/"), collection.getHref().orElse(null));
assertEquals(1, collection.getQueries().size());
Query query = collection.getQueries().get(0);
assertEquals("search", query.getData().get(0).get().getName());
}