@Test public void testCreateRequestControl() throws Exception { SortControl result = (SortControl) tested.createRequestControl(); assertThat(result).isNotNull(); assertThat(result.getID()).isEqualTo("1.2.840.113556.1.4.473"); assertThat(result.getEncodedValue().length).isEqualTo(9); }
public Control createRequestControl() { return super.createRequestControl(new Class<?>[] { String[].class, boolean.class }, new Object[] { new String[] { sortKey }, critical}); }
SortControlDirContextProcessor extends AbstractFallbackRequestAndResponseControlDirContextProcessor { public Control createRequestControl() { return super.createRequestControl(new Class<?>[] { String[].class, boolean.class }, new Object[] { new String[] { sortKey }, critical}); } }
SortControlDirContextProcessor extends AbstractFallbackRequestAndResponseControlDirContextProcessor { public Control createRequestControl() { return super.createRequestControl(new Class<?>[] { String[].class, boolean.class }, new Object[] { new String[] { sortKey }, critical}); } SortControlDirContextProcessor(String sortKey); }
SortControlDirContextProcessor extends AbstractFallbackRequestAndResponseControlDirContextProcessor { public Control createRequestControl() { return super.createRequestControl(new Class<?>[] { String[].class, boolean.class }, new Object[] { new String[] { sortKey }, critical}); } SortControlDirContextProcessor(String sortKey); boolean isSorted(); int getResultCode(); String getSortKey(); Control createRequestControl(); }
SortControlDirContextProcessor extends AbstractFallbackRequestAndResponseControlDirContextProcessor { public Control createRequestControl() { return super.createRequestControl(new Class<?>[] { String[].class, boolean.class }, new Object[] { new String[] { sortKey }, critical}); } SortControlDirContextProcessor(String sortKey); boolean isSorted(); int getResultCode(); String getSortKey(); Control createRequestControl();  }