| Package | Description |
|---|---|
| org.xwiki.test | |
| org.xwiki.test.mockito |
| Modifier and Type | Class and Description |
|---|---|
class |
ComponentManagerRule
A JUnit
MethodRule to initialize a TestComponentManager. |
| Modifier and Type | Class and Description |
|---|---|
class |
MockitoComponentManager
Helper class to make it extra simple to register Mock Components using Mockito.
|
class |
MockitoComponentManagerRule
JUnit
MethodRule to make it extra simple to register Mock Components using Mockito. |
class |
MockitoComponentMockingRule<T>
Unit tests for Components should extend this class instead of using
MockitoComponentManagerRule or
ComponentManagerRule which should only be used for integration tests. |
Copyright © 2004–2016 XWiki. All rights reserved.