rh.putRequest(String.class, req1a);
rh.putRequest(String.class, req1b);
Assert.assertEquals(req1b, rh.peekFromEndWithOffset(String.class, 0));
Assert.assertEquals(req1a, rh.peekFromEndWithOffset(String.class, 1));
Assert.assertEquals(2, rh.getRequestCount(String.class));
}
@Test
public void peekFromEndWithOffset_returnsNull_forOutOfBoundsOffset() {