Class MockSimpleOwnerRoleFactoryProvider

  • All Implemented Interfaces:
    OwnerRoleFactoryProvider

    public class MockSimpleOwnerRoleFactoryProvider
    extends java.lang.Object
    implements OwnerRoleFactoryProvider
    A simple implementation of OwnerRoleFactoryProvider that might be enough for running tests. It just instantiates a Mockito mock for each requested role. Install it with AsDelegateProvider.Locator.set(new MockSimpleAsDelegateProvider()); in a BeforeClass method.
    Since:
    3.2-ALPHA-8
    Author:
    Fabrizio Giudici
    Status: experimental API