Issue #17 resolved

Support mocking of @Primary services

Yves Langisch
created an issue

Hi, I use a component-scanner and would like to mock a service annotated with Athiwat Ngamsuai. Currently it always injects the real primary implementation instead of a mock. Removing the Athiwat Ngamsuai annotation seems to work though. Is there way to cover this use case? - Yves

Comments (3)

  1. kubek2k repo owner

    Hi - sorry for the delayed response - please check the 1.0.6 of springockito-annotations and 1.0.5 version of springockito - should work

  2. Log in to comment