demo.org.powermock.examples.tutorial.domainmocking
Interface EventService


public interface EventService

A simple interface that manages events.


Method Summary
 void sendErrorEvent(Person person, BusinessMessages messages)
          Sends a new error event to the interested parties in the system.
 

Method Detail

sendErrorEvent

void sendErrorEvent(Person person,
                    BusinessMessages messages)
Sends a new error event to the interested parties in the system.

Parameters:
person - The person to object associated with this event.
messages - The business messages object that may contain errors or warnings.


Copyright © 2007-2012. All Rights Reserved.