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…
  2. ▲ 1
    Show HN: Mockito Object Injection JUnit5 extension v2.0.0 released
    story by exabrial · 2020-08-19 · 0 comments
  3. ▲ 1
    Show HN: Junit5/Mockito extension to allow mock testing of Spring Boot @Value
    story by exabrial · 2018-09-12 · 0 comments