org.virtualmock.call
Class RecordedCallQueue

java.lang.Object
  extended byorg.virtualmock.call.CallQueue
      extended byorg.virtualmock.call.RecordedCallQueue

public class RecordedCallQueue
extends CallQueue

A CallQueue which has support for tracking information specific to recorded Calls. This includes methods to support retrieval of calls based on whether or not they have been invoked yet.

Version:
$Revision: 1.49 $
Author:
Chad Woolley

Constructor Summary
RecordedCallQueue()
           
 
Method Summary
 RecordedCall getMatchingCall(InvokedCall invokedCall)
          Retrieve the call in the queue which matches the specified InvokedCall.
 RecordedCall[] getUninvokedCalls()
          Gets all uninvoked calls from the RecordedCallQueue.
 
Methods inherited from class org.virtualmock.call.CallQueue
add, clear, getCallByCallId, getCalls, getFirstCallWithMatchingSignature, getIndexOfFirstCallWithMatchingSignature, getIndexOfNextCallWithMatchingSignature, getMatchingSignatureCount, getNextCallWithMatchingSignature, getSignatures, hasCallWithMatchingSignature, hasCallWithMatchingSignature, size
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RecordedCallQueue

public RecordedCallQueue()
Method Detail

getMatchingCall

public RecordedCall getMatchingCall(InvokedCall invokedCall)
Retrieve the call in the queue which matches the specified InvokedCall. Matching is done based on various settings.

Parameters:
invokedCall - the invoked call to match
Returns:
true if the queue has a RecordedCall matching the specified InvokedCall

getUninvokedCalls

public RecordedCall[] getUninvokedCalls()
Gets all uninvoked calls from the RecordedCallQueue.

Returns:
An array of all uninvoked RecordedCalls


Copyright © 2003-2005 Virtual Mock. All Rights Reserved.