FileDocCategorySizeDatePackage
CallbackHandlerTest.javaAPI DocAndroid 1.5 API1968Wed May 06 22:41:06 BST 2009tests.api.javax.security.auth

CallbackHandlerTest

public class CallbackHandlerTest extends TestCase
Tests for CallbackHandler class constructors and methods.

Fields Summary
Constructors Summary
Methods Summary
public voidtest_CallbackHandler()

tests
javax.security.auth.callback.CallbackHandler#handle(Callback[] callbacks)

        CallbackHandlerImpl ch = new CallbackHandlerImpl();
        assertFalse(ch.called);
        ch.handle(null);
        assertTrue(ch.called);