def METHOD_NAME(self, filename: str, sbom_type: str, validate: bool):
    """
    Demonstrate that validation of XML file against schema results in no data
    if file does not match schema or if xml data is parsed against wrong type of sbom
    (indicated by validate being set to False)
    """
    sbom_engine = SBOMManager(filename, sbom_type, validate=validate)
    assert sbom_engine.scan_file() == {}