'L{SerialNumber.__hash__} allows L{SerialNumber} instances to be hashed
for use as dictionary keys.'

def test_hash(self):

    self.assertEqual(hash(SerialNumber(1)), hash(SerialNumber(1)))
    self.assertNotEqual(hash(SerialNumber(1)), hash(SerialNumber(2)))
