/** * Tests the <CODE>isPasswordBased</CODE> method. * * @throws Exception If an unexpected problem occurs. */ @Test() public void testIsPasswordBased() throws Exception { CRAMMD5SASLMechanismHandler handler = (CRAMMD5SASLMechanismHandler) DirectoryServer.getSASLMechanismHandler(SASL_MECHANISM_CRAM_MD5); assertTrue(handler.isPasswordBased(SASL_MECHANISM_CRAM_MD5)); }