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
20082026
-
…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…
comment by exabrial · 2023-09-26 · in JEP 457: Class-File API for Parsing, generating, transforming Java classfiles -
▲ 1
Show HN: Mockito Object Injection JUnit5 extension v2.0.0 releasedstory by exabrial · 2020-08-19 · 0 comments
-
▲ 1
Show HN: Junit5/Mockito extension to allow mock testing of Spring Boot @Valuestory by exabrial · 2018-09-12 · 0 comments