def METHOD_NAME(self):
    with unittest.mock.patch('Bio.Blast.NCBIWWW.qblast', side_effect=mock_ncbiwww_qblast):
        input_file = os.path.join(self.test_data_dir, 'input.tsv')
        input_fasta = os.path.join(self.test_data_dir, 'input.fasta')
        output_file = tempfile.NamedTemporaryFile()
        metric_file = "{}.reference_matches".format(output_file.name)
        self.assertFalse(CalculateReferenceProteomeSimilarity(input_file, input_fasta, output_file.name).execute())
        self.assertTrue(cmp(
            output_file.name,
            os.path.join(self.test_data_dir, "output.tsv"),
        ))
        self.assertTrue(cmp(
            metric_file,
            os.path.join(self.test_data_dir, "output.tsv.reference_matches"),
        ))
        os.remove(metric_file)
        close_mock_fhs()