def METHOD_NAME(self):
    """Test the 'set_base_values' method of WirelessManager."""
    class TestCase:
        def __init__(self, exc=False, ap_mac=None, ap_ip=None, ap_udp=None, ap_radio=None, client_mac=None, client_ip=None):
            """Construct a TestCase for 'set_base_values' method, 'exc' specifies if the test should raise an exception."""
            self.kwargs = {
                "ap_mac": ap_mac,
                "ap_ip": ap_ip,
                "ap_udp": ap_udp,
                "ap_radio": ap_radio,
                "client_mac": client_mac,
                "client_ip": client_ip
            }
            self.exc = exc
    tt = {
        "no values": TestCase(),
        "wrong ap_mac (aaaaaaaaaaaa)": TestCase(exc=True, ap_mac="aaaaaaaaaaaa"),
        "good ap_mac (ff:ff:ff:ff:ff:ff)": TestCase(ap_mac="ff:ff:ff:ff:ff:ff"),
        "bad ap_ip (300.0.0.0)": TestCase(exc=True, ap_ip="300.0.0.0"),
        "bad ap_ip (-1)": TestCase(exc=True, ap_ip=-1),
    }
    for name, tc in tt.items():            
        if tc.exc:
            with self.assertRaises(Exception):
                self.manager.set_base_values(**tc.kwargs)
        else:
            self.manager.set_base_values(**tc.kwargs)
            # check values
            for key in tc.kwargs.keys():
                if tc.kwargs[key] is not None:
                    # example : test if set ap_mac == self.manager.next_ap_mac
                    self.assertEqual(tc.kwargs[key], getattr(self.manager, 'next_' + key), "{}: {} was not set".format(name, key))