com.mockobjects

Class ExpectationDoubleValue

Implemented Interfaces:
Expectation, Verifiable

public class ExpectationDoubleValue
extends AbstractExpectation

Constructor Summary

ExpectationDoubleValue(String name)

Method Summary

void
clearActual()
void
setActual(double value)
void
setExpectNothing()
void
setExpected(double value, double error)
void
verify()
Throw an AssertionFailedException if any expectations have not been met.

Methods inherited from class com.mockobjects.AbstractExpectation

clearActual, hasExpectations, setFailOnVerify, verify

Constructor Details

ExpectationDoubleValue

public ExpectationDoubleValue(String name)

Method Details

clearActual

public void clearActual()
Overrides:
clearActual in interface AbstractExpectation

setActual

public void setActual(double value)

setExpectNothing

public void setExpectNothing()
Specified by:
setExpectNothing in interface Expectation

setExpected

public void setExpected(double value,
                        double error)

verify

public void verify()
Throw an AssertionFailedException if any expectations have not been met.
Specified by:
verify in interface Verifiable
Overrides:
verify in interface AbstractExpectation

Copyright © 2002 Mock Objects. All Rights Reserved.