/** * @param berValue to encode. * @param expected paged results control to test. * * @throws Exception On test failure. */ @Test(groups = {"control"}, dataProvider = "request-response") public void encode(final byte[] berValue, final PagedResultsControl expected) throws Exception { Assert.assertEquals(expected.encode(), berValue); }