@Test
public void testPrimaryFilterString() {

  WebResource r = resource();
  ClientResponse response = r.path("ws").path("v1").path("timeline")
      .path("type_1").queryParam("primaryFilter", "user:username")
      .accept(MediaType.APPLICATION_JSON)
      .get(ClientResponse.class);
  assertEquals(MediaType.APPLICATION_JSON_TYPE, response.getType());
  verifyEntities(response.getEntity(TimelineEntities.class));
}