Constructor and Description |
---|
ReturnEnumerationAction(java.util.Collection<?> collection) |
ReturnEnumerationAction(java.lang.Object... array) |
Modifier and Type | Method and Description |
---|---|
void |
describeTo(org.hamcrest.Description description) |
java.util.Enumeration<?> |
invoke(Invocation invocation)
Performs an action in response to an invocation.
|
public ReturnEnumerationAction(java.util.Collection<?> collection)
public ReturnEnumerationAction(java.lang.Object... array)
public java.util.Enumeration<?> invoke(Invocation invocation) throws java.lang.Throwable
Invokable
invoke
in interface Invokable
invocation
- The invocation to perform.null
if the invoked method has a void return type.java.lang.Throwable
- An exception to be thrown to the caller, if not returning a value. Any checked exception
thrown must be in the throws
list of the invoked method.public void describeTo(org.hamcrest.Description description)
describeTo
in interface org.hamcrest.SelfDescribing