|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.jmock.expectation.AbstractExpectation
org.jmock.expectation.ExpectationSegment
public class ExpectationSegment
| Field Summary |
|---|
| Fields inherited from class org.jmock.expectation.AbstractExpectation |
|---|
myFailureModeIsImmediate, myName |
| Constructor Summary | |
|---|---|
ExpectationSegment(java.lang.String name)
|
|
| Method Summary | |
|---|---|
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. |
| Methods inherited from class org.jmock.expectation.AbstractExpectation |
|---|
assertEquals, assertEquals, hasExpectations, setFailOnVerify, setHasExpectations, shouldCheckImmediately |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ExpectationSegment(java.lang.String name)
| Method Detail |
|---|
public void clearActual()
clearActual in class AbstractExpectationpublic void setActual(java.lang.String aString)
public void setExpected(java.lang.String segment)
public void setExpectNothing()
Expectation
public void verify()
Verifiable
verify in interface Verifiableverify in class AbstractExpectation
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||