public class MockitoMocksInContainer extends Object
MockitoContainer
ruleMockitoContainer
Modifier and Type | Method and Description |
---|---|
static org.junit.rules.RuleChain |
forTest(Object test)
Returns a rule which initializes Mockito mocks and mocked component container.
|
static MockitoContainer |
rule(Object test)
Returns a rule which initializes Mockito mocks and mocked component container.
|
public static org.junit.rules.RuleChain forTest(Object test)
Note:This method returns pure RuleChain which does not allow to modify mock container behaviour directly. If you want
to do this, please use rule(Object)
test
- testpublic static MockitoContainer rule(Object test)
test
- testMockitoContainer
Copyright © 2002-2017 Atlassian. All Rights Reserved.
View cookie preferences