Package org.jvnet.testing.hk2mockito


package org.jvnet.testing.hk2mockito
  • Class
    Description
    This class is a custom resolver that creates or finds services and wraps in a spy.
    @MC (Mock Collaborator) annotation is used on fields and methods of a Test class to inject a mock of the @SUT's collaborating services.
    @SC (Service Collaborator) annotation is used on fields and methods of a Test class to inject spies of the @SUT's collaborating services.
    @SUT (Service Under Test) is an annotation used on fields and methods of a Test class to inject a spy of the real service.