MutableDelegatingLdapContext extends DelegatingLdapContext { public void setRequestControls(Control[] requestControls) throws NamingException { assertOpen(); getDelegateLdapContext().setRequestControls(requestControls); } MutableDelegatingLdapContext(KeyedObjectPool keyedObjectPool, LdapContext delegateLdapContext,
			DirContextType dirContextType); void setRequestControls(Control[] requestControls);  }
@Test public void testSupportedMethodsAllowedToCall() throws Exception { final MutableDelegatingLdapContext delegatingLdapContext = new MutableDelegatingLdapContext( keyedObjectPoolMock, ldapContextMock, DirContextType.READ_ONLY); delegatingLdapContext.setRequestControls(null); verify(ldapContextMock).setRequestControls(null); }