def METHOD_NAME(self, spec, expected):
    """confirm expected properties exist"""
    actual = spec.properties.keys()
    self.assertEquals(expected,
                      actual,
                      '{} properties expected: {}, actual: {}'.format(spec.name,
                                                                      expected,
                                                                      actual))