}
public void testInvokeDrinkingCoffee() throws Exception
{
MockControl controlTaskProcessor = MockControl.createControl(TaskProcessor.class);
TaskProcessor mockTaskProcessor = (TaskProcessor) controlTaskProcessor.getMock();
TypedEventMessage message = new TypedEventMessage();
Message handle = message.getHandle();
mockTaskProcessor.processMessage(handle);
controlTaskProcessor.setMatcher(new AbstractMatcher()
{
protected boolean argumentMatches(Object exp, Object act)
{
Message mesg = (Message) exp;