class MetadataCriterionFieldTestCase(unittest.TestCase):

    def setUp(self):
        self.field = MetadataCriterionField('meta-set', 'field-id')

    def test_metadata(self):
        self.assertFalse(self.field is None)
        self.assertEquals('meta-set', self.field.getSetName())
        self.assertEquals('field-id', self.field.getElementName())
 def setUp(self):
     self.field = MetadataCriterionField('meta-set', 'field-id')