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

For more information, please explore the Attic.

public interface

MockEngine

org.apache.onami.test.mock.MockEngine
Known Indirect Subclasses

Class Overview

Interface to specify mock framework class engine.

Summary

Public Methods
abstract <T> T createMock(Class<T> cls, MockObjType type)
Create a typed mock
abstract void resetMock(Object... objects)
Reset the mock objects

Public Methods

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

Create a typed mock

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

public abstract void resetMock (Object... objects)

Reset the mock objects

Parameters
objects to reset.