com.hammingweight.hammock.mocks.obex
Class MockAuthenticator
java.lang.Object
com.hammingweight.hammock.AMockObject
com.hammingweight.hammock.mocks.obex.MockAuthenticator
- All Implemented Interfaces:
- IHammockExceptionErrors, IMockObject, javax.obex.Authenticator
public class MockAuthenticator
- extends AMockObject
- implements javax.obex.Authenticator
Fields inherited from interface com.hammingweight.hammock.IHammockExceptionErrors |
ARGUMENT_MATCHER_ALREADY_SET, CANT_SET_VOID_RETURN_VALUE, CLASS_IS_NOT_THROWABLE, DOES_NOT_SUBCLASS_MOCK_OBJECT, HANDLER_NOT_SET, INCORRECT_MOCK_OBJECT, INCORRECT_RETURN_CLASS, INCORRECT_THROWABLE_CLASS, METHOD_CANNOT_BE_EVALUATED, METHOD_INVOKED_OUT_OF_SEQUENCE, METHOD_INVOKED_TOO_MANY_TIMES, METHOD_INVOKED_UNEXPECTED_NUMBER_OF_TIMES, NO_RETURN_VALUE, NO_RETURN_VALUE_SET, NUM_INVOCATIONS_ALREADY_SET, RETURN_VALUE_ALREADY_SET, WRONG_ARGUMENT_CLASS, WRONG_NUMBER_OF_ARGS |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MTHD_ON_AUTHENTICATION_CHALLENGE_$_STRING_BOOLEAN_BOOLEAN
public static final MockMethod MTHD_ON_AUTHENTICATION_CHALLENGE_$_STRING_BOOLEAN_BOOLEAN
MTHD_ON_AUTHENTICATION_RESPONSE_$_ARRAY_BYTE
public static final MockMethod MTHD_ON_AUTHENTICATION_RESPONSE_$_ARRAY_BYTE
MockAuthenticator
public MockAuthenticator()
MockAuthenticator
public MockAuthenticator(IInvocationHandler handler)
onAuthenticationChallenge
public javax.obex.PasswordAuthentication onAuthenticationChallenge(java.lang.String arg0,
boolean arg1,
boolean arg2)
- Specified by:
onAuthenticationChallenge
in interface javax.obex.Authenticator
onAuthenticationResponse
public byte[] onAuthenticationResponse(byte[] arg0)
- Specified by:
onAuthenticationResponse
in interface javax.obex.Authenticator