//JAVA TO C# CONVERTER TODO TASK: Most Java annotations will not have direct .NET equivalent attributes: //ORIGINAL LINE: @Test @Category(TimeoutTests.class) public void shouldFailIfLdapSearchFails() throws java.io.IOException //JAVA TO C# CONVERTER WARNING: Method 'throws' clauses are not available in C#: public virtual void ShouldFailIfLdapSearchFails() { using (DirectoryServiceFailOnSearch ignore = new DirectoryServiceFailOnSearch(this)) { RestartServerWithOverriddenSettings(SecuritySettings.ldap_read_timeout.name(), "1s", SecuritySettings.ldap_authorization_use_system_account.name(), "true"); AssertReadFails("neo", "abc123"); } }
public BaseInterceptorAnonymousInnerClass(DirectoryServiceFailOnSearch outerInstance) { this.outerInstance = outerInstance; }