def METHOD_NAME(self):
    a = Restrictions()
    b = Restrictions()
    a.merge(b)
    self.assertIsNone(a.min_occurs)
    self.assertIsNone(a.max_occurs)
    b.min_occurs = 0
    b.max_occurs = 1
    a.merge(b)
    self.assertEqual(0, a.min_occurs)
    self.assertEqual(1, a.max_occurs)