Can the TestCluster be used to obtain items from the service collection? #8732
-
I've been successfully using the test cluster to get grain instances for testing. The cluster was configured with several services in it's service collection. The service interfaces are injected into the grain classes. There is a Is it even possible to retrieve the services this way? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Indeed by passing config inheriting ISiloConfigurator.
|
Beta Was this translation helpful? Give feedback.
Indeed by passing config inheriting ISiloConfigurator.
There you can either mock or use the service directly