org.jmock.lib.action
Class CustomAction

java.lang.Object
  extended by org.jmock.lib.action.CustomAction
All Implemented Interfaces:
SelfDescribing, Action, Invokable

public abstract class CustomAction
extends Object
implements Action

A partial implementation of the Action interface that makes it convenient to implement application-specific actions with inline anonymous classes.


Constructor Summary
CustomAction(String description)
           
 
Method Summary
 void describeTo(Description description)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.jmock.api.Invokable
invoke
 

Constructor Detail

CustomAction

public CustomAction(String description)
Method Detail

describeTo

public void describeTo(Description description)
Specified by:
describeTo in interface SelfDescribing