def METHOD_NAME(sample_notification, schema_name):
    from app import schemas
    data = getattr(schemas, schema_name).dump(sample_notification)
    assert data["status"] == sample_notification.status