def METHOD_NAME(self, mocker):
    mocker.patch('os.path.exists', side_effect=lambda x: True)
    m = mocker.mock_open(read_data='This is a test')
    mocker.patch('builtins.open', m)
    assert amc._slurp('some_file') == 'This is a test'