org.jmock.core.stub

Class VoidStub

Implemented Interfaces:
SelfDescribing, Stub

public class VoidStub
extends Object
implements Stub

Field Summary

static VoidStub
INSTANCE

Method Summary

StringBuffer
describeTo(StringBuffer buffer)
Object
invoke(Invocation invocation)

Field Details

INSTANCE

public static final VoidStub INSTANCE

Method Details

describeTo

public StringBuffer describeTo(StringBuffer buffer)
Specified by:
describeTo in interface SelfDescribing

invoke

public Object invoke(Invocation invocation)
            throws Throwable
Specified by:
invoke in interface Stub