'Match groups are added to separate sections.'

def testParseMatchGroups(self):

    result = self.GetConfig()
    self.assertEqual(2, len(result.matches))
    (block_1, block_2) = result.matches
    self.assertEqual('user    root', block_1.criterion)
    self.assertEqual('address    192.168.3.12', block_2.criterion)
    self.assertEqual('yes', block_1.config.permitrootlogin)
    self.assertEqual('no', block_2.config.permitrootlogin)
    self.assertFalse(block_1.config.protocol)
