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


public interface PersonService

A simple interface that manages persons.


Method Summary
 void create(Person person, BusinessMessages messages)
          Create a new person.
 

Method Detail

create

void create(Person person,
            BusinessMessages messages)
Create a new person.

Parameters:
person - The person to create.
messages - The business messages object to be filled with validation errors.


Copyright © 2007-2012. All Rights Reserved.