@Test
public void shouldGetPageWhenOtherParamsAlreadyPresent() throws SDKException {
// Given
TestCollectionRepresentation input = new TestCollectionRepresentation();
input.setPageStatistics(new PageStatisticsRepresentation(PAGE_SIZE));
input.setSelf(URL + "/measuremnt/measurments?param1=value1");
String expectedUrl = input.getSelf() + "&pageSize=" + PAGE_SIZE + "¤tPage=5";
TestCollectionRepresentation expectedRep = new TestCollectionRepresentation();
when(restConnector.get(argThat(matchesUrl(expectedUrl)), eq(MEDIA_TYPE), eq(CLAZZ))).thenReturn(expectedRep);