'Perform some common tests on a feature known to use L{_intOrDefault}.'

def _testIntOrDefaultFeature(self, name, default=None):

    self.assertEqual(self._parseFeature(name, None), default)
    self.assertEqual(self._parseFeature(name, 'notanint'), default)
    self.assertEqual(self._parseFeature(name, '42'), 42)
