Skip to content
This repository has been archived by the owner on Aug 31, 2018. It is now read-only.

Add mockito support to HK2 #1

Merged
merged 2 commits into from
May 29, 2014
Merged

Add mockito support to HK2 #1

merged 2 commits into from
May 29, 2014

Conversation

saden1
Copy link
Collaborator

@saden1 saden1 commented May 26, 2014

I have created a new module that adds the ability to spy on HK2 services using Mockito spies. This module effectively gives users the ability to inject services and their collaborators into test cases and verify service method calls as well as calls to methods of collaborating services.

Please take a look at the test cases and let me know what you think. Note that I am not too keen on the annotation names so feel free to change it as you see fit.

added the ability to spy on services and inject services as well as their collaborators into a test case.
@jwells131313
Copy link
Contributor

The only issue with this is that it requires JDK 8 for the java.lang.reflect.Executable. Can you make it work properly with jdk 7?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants