com.agical.rmock.core
Interface ExpectationVisitor

All Known Implementing Classes:
DocumentExpectationsVisitor, ExpectationCounterVisitor, InvocationExpectationVisitor

public interface ExpectationVisitor

(c) Agical AB 2005

Author:
joakim.ohlrogge

Method Summary
 void enteredSection(Section section)
          Called when a section is entered
 void exitedSection()
          called when the current section has exited.
 boolean visit(Expectation expectation, boolean available)
          Visits expectations
 

Method Detail

visit

boolean visit(Expectation expectation,
              boolean available)
Visits expectations

Parameters:
expectation - the expectation to visit
available - true if this expectation is considered to be available by the surrounding section.
Returns:
true if the visitor is still active (wants to visit more expectations)

enteredSection

void enteredSection(Section section)
Called when a section is entered

Parameters:
section -

exitedSection

void exitedSection()
called when the current section has exited.



Copyright © 2005-2010 Agical AB. All Rights Reserved.