@Test(groups = "control", dataProvider = "request-response")
public void encode(final DERBuffer berValue, final PagedResultsControl expected)
  throws Exception
{

  Assert.assertEquals(expected.encode(), berValue.getRemainingBytes());
}