def METHOD_NAME(self):
    # Boundaries are not supported
    r, x, s, b = self.problem()
    # Rectangular boundaries
    import warnings
    with warnings.catch_warnings(record=True) as w:
        warnings.simplefilter('always')
        pints.OptimisationController(r, x, boundaries=b, method=method)
        self.assertEqual(len(w), 1)
        self.assertIn('does not support boundaries', str(w[-1].message))