Tests injecting failures.

Hi,

Is there any framework for injecting failures in testsuite already?
Some kind of mockups or equivalent.

If there is, what would be good examples to look at.

To be more specific right now I want to write testcase with process that fails to in DoLaunch to test Process::Launch.

Cheers,
/Piotr