def METHOD_NAME(self, urlopen_mock):
    # Arrange
    url = "http://md.incommon.org/InCommon/metadata.xml"
    incorrect_xml = fixtures.CORRECT_XML_WITH_MULTIPLE_IDPS
    urlopen_response_mock = MagicMock()
    urlopen_response_mock.read = MagicMock(return_value=incorrect_xml)
    urlopen_mock.return_value = urlopen_response_mock
    metadata_loader = SAMLMetadataLoader()
    # Act
    xml_metadata = metadata_loader.load_idp_metadata(url)
    # Assert
    urlopen_mock.assert_called_with(url, timeout=None)
    assert fixtures.CORRECT_XML_WITH_MULTIPLE_IDPS == xml_metadata