demo.org.powermock.examples.tutorial.domainmocking.domain
Class BusinessMessages
java.lang.Object
demo.org.powermock.examples.tutorial.domainmocking.domain.BusinessMessages
public class BusinessMessages
- extends Object
A simple domain object that's pretended to hold state of one or more
operation outcomes. We pretend that services can store messages or errors
(for example validation errors) in this message (even though these methods
are not implemented or even defined here).
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
BusinessMessages
public BusinessMessages()
hasErrors
public boolean hasErrors()
- Returns:
true
if the an error has occurred when invoking an
operation, false
otherwise.
Copyright © 2007-2012. All Rights Reserved.