Groovy 1.7.2

Package groovy.mock.interceptor

The groovy.mock.interceptor is an all-groovy mock testing library.

 

Class Summary
CallSpec
Demand The object that registers method calls on it for the use with Mocks and Stubs.
Ignore Helper object to support convenience "ignore.methodName" notation similar to demand notation.
LooseExpectation Expects demanded call cardinalities to match demanded ranges.
MockFor MockFor supports (typically unit) testing of classes in isolation by allowing a strictly ordered expectation of the behavior of collaborators to be defined.
MockInterceptor Intercepting calls to the collaborating object and notify the expectation object.
MockProxyMetaClass The ProxyMetaClass for the MockInterceptor.
StrictExpectation Expects demanded call cardinalities to match demanded ranges in the sequence of recording.
StubFor StubFor supports (typically unit) testing of classes in isolation by allowing a loosely-ordered expectation of the behavior of collaborators to be defined.
 


Copyright © 2003-2010 The Codehaus. All rights reserved.