'Test is_managed_by_network_manager function when there
is no network manager'

@mock.patch('wifiphisher.common.interfaces.dbus.Interface')
def test_is_managed_by_network_manager_no_manager_false(self, my_dbus):

    my_dbus.side_effect = my_dbus.exceptions.DBusException
    actual = interfaces.is_managed_by_network_manager('wlan0')
    message = 'NetworkManager    is    not    running,    the    managed    property    should    be    false'
    self.assertFalse(actual, message)
