'L{SynchronousTestCase.failureResultOf} raises
L{SynchronousTestCase.failureException} when called with a L{Deferred}
with a success result.'

def test_failureResultOfWithSuccess(self):

    self.assertRaises(self.failureException, self.failureResultOf, succeed(self.result))
