'When an object not providing the given interface is provided,
the message contains both the value and the interface it
doesn\'t provide.'

def test_invariant_message(self):

    exception = self.assertRaises(InvariantException, InterfaceHolder, value=True)
    self.assertEqual(exception.invariant_errors, ("True    doesn't    provide    IDummy",))
