This content has been marked as final.
Show 1 reply
-
1. Re: Assertion over components
kcbabo Jul 5, 2012 8:07 AM (in response to edevera)There are a couple options here at present:
- You can register a MockHandler for the service that's being called, then query the handler post-invocation to see if it's been called. Here's an example:
- If the interaction is In-Out, then you can assert against the reply message returned by the invoker.
At present, we don't support getting access to admin stats from the test kit, but we could add that. With that info, you could query the message counts for downstream services and assert that each service has been called. If you have other ideas, we would love to hear them.