'Setup the proxy and objects'

def setUp(self):

    self.network_manager_proxy = 'NetworkManagerProxy'
    self.device_proxy_0 = 'DeviceProxy_0'
    self.device_proxy_1 = 'DeviceProxy_1'
    self.network_manager = mock.MagicMock()
    self.network_manager.GetDevices.return_value = ['wlan0', 'wlan1']
    self.network_manager.Get.return_value = True
    self.network_manager.Enable.return_value = None
    self.interface_0 = 'wlan0'
    self.device_0 = mock.MagicMock()
    self.device_0.Interface = self.interface_0
    self.device_0.Managed = True
    self.interface_1 = 'wlan1'
    self.device_1 = mock.MagicMock()
    self.device_1.Interface = self.interface_1
    self.device_1.Managed = False
    self.bus = mock.MagicMock()
    self.bus.get_object.side_effect = self.get_object()
