public class ExpectationSegment extends AbstractExpectation
Constructor and Description |
---|
ExpectationSegment(java.lang.String name) |
Modifier and Type | Method and Description |
---|---|
void |
clearActual() |
void |
setActual(java.lang.String aString) |
void |
setExpected(java.lang.String segment) |
void |
setExpectNothing()
Tell the object to expect nothing to happen to it, perhaps because the test is exercising
the handling of an error.
|
void |
verify()
Throw an AssertionFailedException if any expectations have not been met.
|
hasExpectations, setFailOnVerify
public void clearActual()
clearActual
in class AbstractExpectation
public void setActual(java.lang.String aString)
public void setExpected(java.lang.String segment)
public void setExpectNothing()
Expectation
public void verify()
Verifiable
verify
in interface Verifiable
verify
in class AbstractExpectation
Copyright © 2002 Mock Objects. All Rights Reserved.