added ignore() and fail() methods

This commit is contained in:
tmont 2009-06-18 03:02:36 +00:00
parent 7a8481283f
commit a2d6335740

View File

@ -69,6 +69,14 @@
return new MockHandler($mock);
}
protected function ignore($message = '') {
throw new IgnoredTest($message);
}
protected function fail($message = '') {
throw new FailedTest($message);
}
}
?>