ComponentManagerRule instead@Deprecated public abstract class AbstractMockingTestCase extends Object
| Modifier and Type | Field and Description |
|---|---|
JMockRule |
mockery
Deprecated.
Automatically verify JMock expectations.
|
| Constructor and Description |
|---|
AbstractMockingTestCase()
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
abstract MockingComponentManager |
getComponentManager()
Deprecated.
|
org.jmock.Mockery |
getMockery()
Deprecated.
|
<T> T |
registerMockComponent(Class<T> role)
Deprecated.
|
<T> T |
registerMockComponent(Class<T> role,
String hint)
Deprecated.
|
<T> T |
registerMockComponent(Class<T> role,
String hint,
String mockId)
Deprecated.
|
<T> T |
registerMockComponent(Type role)
Deprecated.
|
<T> T |
registerMockComponent(Type role,
String hint)
Deprecated.
|
<T> T |
registerMockComponent(Type role,
String hint,
String mockId)
Deprecated.
|
public final JMockRule mockery
public org.jmock.Mockery getMockery()
public abstract MockingComponentManager getComponentManager() throws Exception
Exceptionpublic <T> T registerMockComponent(Class<T> role, String hint, String mockId) throws Exception
Exceptionpublic <T> T registerMockComponent(Type role, String hint, String mockId) throws Exception
Exceptionpublic <T> T registerMockComponent(Class<T> role, String hint) throws Exception
Exceptionpublic <T> T registerMockComponent(Type role, String hint) throws Exception
Exceptionpublic <T> T registerMockComponent(Class<T> role) throws Exception
ExceptionCopyright © 2004–2016 XWiki. All rights reserved.