def METHOD_NAME(self, mock_isfile):
    """
    Ensure that if we have a configure script then the build system finds
    it and signals lack of suitability, we want developers to specifically
    tell us how to build with a configure script around.
    """
    mock_isfile.side_effect = lambda path: path in ('src/Makefile',
                                                    'src/configure')
    self.assertEqual(self.buildsystem.probe("src"), 0)