de.akquinet.jbosscc.needle.mock
Interface MockProvider

All Known Implementing Classes:
EasyMockProvider, MockitoProvider

public interface MockProvider

Interface for abstraction of a specific mock provider.


Method Summary
<T> T
createMockComponent(Class<T> type)
          Creates a mock object of a given class or interface.
 

Method Detail

createMockComponent

<T> T createMockComponent(Class<T> type)
Creates a mock object of a given class or interface.

Parameters:
type - class or interface to mock
Returns:
mock object


Copyright © 2013 akquinet AG. All Rights Reserved.