Class MockSimpleAsDelegateProvider

  • All Implemented Interfaces:
    AsDelegateProvider

    public class MockSimpleAsDelegateProvider
    extends java.lang.Object
    implements AsDelegateProvider
    A simple implementation of AsDelegateProvider 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
    • Constructor Detail

      • MockSimpleAsDelegateProvider

        public MockSimpleAsDelegateProvider()