org.dbunit.dataset.common.handlers
Class MockHandler
java.lang.Object
org.dbunit.dataset.common.handlers.AbstractPipelineComponent
org.dbunit.dataset.common.handlers.MockHandler
- All Implemented Interfaces:
- Handler, PipelineComponent
- Direct Known Subclasses:
- MockHandlerAccept
public class MockHandler
- extends AbstractPipelineComponent
- Since:
- 2.4.0
- Version:
- $Revision: 817 $ $Date: 2008-09-29 22:23:35 +0200 (Mon, 29 Sep 2008) $
- Author:
- gommma (gommma AT users.sourceforge.net), Last changed by: $Author: gommma $
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MockHandler
public MockHandler()
setExpectedSetSuccessorCalls
public void setExpectedSetSuccessorCalls(int calls)
addExpectedSetSuccessorValues
public void addExpectedSetSuccessorValues(Handler arg0)
setSuccessor
public void setSuccessor(PipelineComponent arg0)
- Specified by:
setSuccessor
in interface PipelineComponent
- Overrides:
setSuccessor
in class AbstractPipelineComponent
setupExceptionSetSuccessor
public void setupExceptionSetSuccessor(Throwable arg)
setExpectedGetSinkCalls
public void setExpectedGetSinkCalls(int calls)
setupExceptionGetSink
public void setupExceptionGetSink(Throwable arg)
setupGetSink
public void setupGetSink(List arg)
setExpectedHandleCalls
public void setExpectedHandleCalls(int calls)
addExpectedHandleValues
public void addExpectedHandleValues(char arg0)
handle
public void handle(char arg0)
throws IllegalInputCharacterException,
PipelineException
- Specified by:
handle
in interface Handler
- Overrides:
handle
in class AbstractPipelineComponent
- Throws:
IllegalInputCharacterException
PipelineException
setupExceptionHandle
public void setupExceptionHandle(Throwable arg)
verify
public void verify()
canHandle
public boolean canHandle(char c)
throws IllegalInputCharacterException
- Throws:
IllegalInputCharacterException
Copyright © 2002-2012. All Rights Reserved.