def METHOD_NAME(self, mock_validate_on_or_after):
    self.ar.issue_instant_ok = Mock(return_value=True)
    with open(SIGNED_REPONSE_FIRST_SIG) as fp:
        xml_response = fp.read()
    self.ar.outstanding_queries = {"id-abc": "http://localhost:8088/sso"}
    self.ar.timeslack = 10000
    with raises(SignatureError):
        self.ar.loads(xml_response, decode=False)