def test_validate_many(self, rdf_model: RdfModel, valid_activity_resource,
                        invalid_activity_resource):
     resources = [valid_activity_resource, invalid_activity_resource]
     rdf_model.validate(resources, False)
     assert valid_activity_resource._validated is True
     assert invalid_activity_resource._validated is False
     assert (valid_activity_resource._last_action.operation ==
             invalid_activity_resource._last_action.operation ==
             rdf_model._validate_many.__name__)
 def test_validate_one(self, rdf_model: RdfModel, valid_activity_resource):
     rdf_model.validate(valid_activity_resource, False)