public abstract class MockitoTemplate extends Object
| Constructor and Description |
|---|
MockitoTemplate() |
| Modifier and Type | Method and Description |
|---|---|
protected abstract void |
execute()
Execute the test code / assertions
|
protected void |
initMocks()
initMocks
|
void |
run()
Runs the tests
|
protected abstract void |
stub()
Stub the mocks
|
protected abstract void |
verifyMocks()
Finally verify the mocks using Mockito#verify(Object)
|
protected abstract void execute()
throws Exception
Exception - if any.protected abstract void verifyMocks()
throws Exception
Exception - if any.protected void initMocks()
initMocks
Copyright © 2007–2016 cedarsoft GmbH. All rights reserved.