Package org.opennms.test.mock
Class EasyMockUtils
- java.lang.Object
-
- org.opennms.test.mock.EasyMockUtils
-
public class EasyMockUtils extends java.lang.Object
Utilities to support EasyMocking.- Version:
- $Id: $
- Author:
- ranger
-
-
Constructor Summary
Constructors Constructor Description EasyMockUtils()
Constructor for EasyMockUtils.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description <T> T
createMock(java.lang.Class<T> clazz)
createMockvoid
remove(java.lang.Object o)
void
replayAll()
replayAllvoid
verifyAll()
verifyAll
-
-
-
Method Detail
-
createMock
public <T> T createMock(java.lang.Class<T> clazz)
createMock
- Type Parameters:
T
- a T object.- Parameters:
clazz
- aClass
object.- Returns:
- a T object.
-
replayAll
public void replayAll()
replayAll
-
verifyAll
public void verifyAll()
verifyAll
-
remove
public void remove(java.lang.Object o)
-
-