This sounds promising and covers an important point, that infrastructure for testing often proves useful in production.
A couple of suggestions. Is there anywhere you can put some event distribution so you can get notified of the change? Otherwise, perhaps a combination of rapid polling and a timeout. You want to avoid fixed waits because they slow down successful test runs.
And a layer of indirection to expose just what you need is nearly always a good idea.
S
> --
>
> ---
> You received this message because you are subscribed to the Google Groups "Growing Object-Oriented Software" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to
growing-object-oriente...@googlegroups.com.