Class CustomAction

java.lang.Object
org.jmock.lib.action.CustomAction
All Implemented Interfaces:
org.hamcrest.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.
  • Field Details

    • description

      private String description
  • Constructor Details

    • CustomAction

      public CustomAction(String description)
  • Method Details

    • describeTo

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