Hacker GitHub

← All repos

exabrial/mockito-object-injection

View on GitHub ↗ ★ 10 Java

Mockito Object Injection for JUnit5. Inject Strings and other Objects directly into Mocks without needing setters or constructor injection.

3 mentions on Hacker News by 1 person: 2 stories, 1 comment · first 2018-09-12 · latest 2023-09-26

Mentions per year 3 mentions · busiest year 2018 (1)
20082026
  1. …an interpreter or intercept a method call and thats it. For example in my Junit/Mockito extension https://github.com/exabrial/mockito-object-injection I need to intercept a call to the class under test in order to lazily inject…