2016/02/07 - Apache Onami has been retired.

For more information, please explore the Attic.

public class

MockitoFramework

extends Object
implements MockEngine
java.lang.Object
   ↳ org.apache.onami.test.mock.framework.MockitoFramework

Class Overview

Specifies the Mockito Framework.

See Also

Summary

Public Constructors
MockitoFramework()
Public Methods
<T> T createMock(Class<T> cls, MockObjType type)
Create a typed mock
void resetMock(Object... objects)
Reset the mock objects
[Expand]
Inherited Methods
From class java.lang.Object
From interface org.apache.onami.test.mock.MockEngine

Public Constructors

public MockitoFramework ()

Public Methods

public T createMock (Class<T> cls, MockObjType type)

Create a typed mock

Parameters
cls Class to mock
type the MockObjType
Returns
  • the mock object

public void resetMock (Object... objects)

Reset the mock objects

Parameters
objects to reset.