Does anybody have a working example for mocking field injection?

51 views
Skip to first unread message

Michael Danninger

unread,
Dec 28, 2023, 3:13:26 PM12/28/23
to Spring4D
I would like to mock a field injected with the [Inject] attribute by registering the mock at the GlobalContainer.

Stefan Glienke

unread,
Jan 16, 2024, 6:02:32 AMJan 16
to Spring4D
Register the mock just like you would register the real thing.
Reply all
Reply to author
Forward
0 new messages