assertThat(queryParams.keySet()).containsOnly("source","status");
}
@Test
public void shouldEncodeParamValue() throws Exception {
EventFilter eventFilter = new EventFilter().byFromDate(DateConverter.string2Date("2011-11-03T11:01:00.000+05:30"));
Map<String, String> queryParams = eventFilter.getQueryParams();
assertThat(queryParams.get("dateFrom")).doesNotContain(":");
}