'L{SynchronousTestCase.fail} raises
L{SynchronousTestCase.failureException} with the given argument.'

def test_fail(self):

    try:
        self.test.fail('failed')
    except self.test.failureException as result:
        self.assertEqual('failed', str(result))
    else:
        self.fail('SynchronousTestCase.fail    method    did    not    raise    SynchronousTestCase.failureException')
