com.agical.rmock.core
Interface Visitable
- All Known Subinterfaces:
- Expectation, ModifiableExpectation, Section
- All Known Implementing Classes:
- AnyOrderSection, ExpectationImpl, OrderedSection, OverridableSection, StackedSection
public interface Visitable
Common interface for visitable objects (sections and expectations).
(c) Agical AB 2005
- Author:
- brolund
accept
boolean accept(ExpectationVisitor expectationVisitor,
boolean available)
- accepts a visitor
- Parameters:
expectationVisitor
- the visitor to accept.available
- true if this visitable is considered available by its container
- Returns:
canMatch
boolean canMatch()
- Returns:
- true if this visitable can match
isSatisfied
boolean isSatisfied()
- Returns:
- true if this visitable is satisfied
Copyright © 2005-2010 Agical AB. All Rights Reserved.