def test_error_is_raised_if_get_change_domain_class_is_undefined(self):
    with self.assertRaises(NotImplementedError):
        snapshot_model = MockSnapshotModel(id='mockmodel')
        snapshot_model.put()
        MockSnapshotMetadataModelValidator().validate(snapshot_model)
def test_error_is_raised_if_get_change_domain_class_is_undefined(self):
    with self.assertRaises(NotImplementedError):
        snapshot_model = MockSnapshotModel(id='mockmodel')
        snapshot_model.put()
        MockSnapshotMetadataModelValidator().validate(snapshot_model)