public class ExpectationDoubleValue extends AbstractExpectation
myFailureModeIsImmediate, myName| Constructor and Description |
|---|
ExpectationDoubleValue(java.lang.String name) |
| Modifier and Type | Method and Description |
|---|---|
void |
clearActual() |
void |
setActual(double value) |
void |
setExpected(double value,
double error) |
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.
|
assertEquals, assertEquals, hasExpectations, setFailOnVerify, setHasExpectations, shouldCheckImmediatelypublic void clearActual()
clearActual in class AbstractExpectationpublic void setActual(double value)
public void setExpected(double value,
double error)
public void setExpectNothing()
Expectationpublic void verify()
Verifiableverify in interface Verifiableverify in class AbstractExpectation