Added sureOfFailure()

Basically to help with unit testing.

You can verify that an API fails as expected under certain conditions with a similarly short syntax to checking that it passes as expected.