|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.mockcentral.server.ResultBuilder
public class ResultBuilder
A class that builds an object that will be the expected result for a Mock
Object method expectation from the values stored in a
SignaturePartBean instance.
The "add" and "set" methods defined in this class are invoked by the
org.apache.commons.digester.Digester when the configuration file
is parsed, and should not be called by clients.
| Constructor Summary | |
|---|---|
ResultBuilder()
Creates a new instance. |
|
| Method Summary | |
|---|---|
static java.lang.Object |
buildResult(SignaturePartBean bean)
Creates and returns the expected result Object for a Mock Object method. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ResultBuilder()
| Method Detail |
|---|
public static java.lang.Object buildResult(SignaturePartBean bean)
throws UnknownProxyException,
MockCentralServerException
bean - the SignaturePartBean containing the data for the
expected result.
UnknownProxyException - if the expected result was designated as a Mock Object
Proxy and the Proxy was not found.
MockCentralServerException - if the expected result could not be constructed for another
reason.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||