Autowire Components inside AggregateFixtures

Our beans don’t seem to instantiate inside our AggregateFixtures. There are fairly straight forward components and we’re not clear on why this is an issue.
For reference our tests are written using Spek2 with Mockito support.

Looks like I got my answer in!topic/axonframework/aDEd8peVW1g

Hi Michael,

For the Test fixtures however, you will need to register them separately.
You can do this by using the AggregateTestFixture#registerInjectableResource(Object) method to register such an injectable resource.
Hope this helps!