Skip to content

How to unit test a method which is decorated with an aspect that inject a dependency? #234

Answered by gfraiteur
MEmanuelsson asked this question in Q&A
Discussion options

You must be logged in to vote

It is not yet supported. You need to build your instance using the DI container, i.e. through reflection.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@MEmanuelsson
Comment options

Answer selected by MEmanuelsson
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants