'An unjellied L{CopyableFailure} has a check method which behaves the
same way as the original L{CopyableFailure}\'s check method.'

def test_unjelliedFailureCheck(self):

    original = pb.CopyableFailure(ZeroDivisionError())
    self.assertIs(original.check(ZeroDivisionError), ZeroDivisionError)
    self.assertIs(original.check(ArithmeticError), ArithmeticError)
    copied = jelly.unjelly(jelly.jelly(original, invoker=DummyInvoker()))
    self.assertIs(copied.check(ZeroDivisionError), ZeroDivisionError)
    self.assertIs(copied.check(ArithmeticError), ArithmeticError)
