'Test is_managed_by_networkmanager with the interface
managed by NetworkManager'

@mock.patch('dbus.Interface')
@mock.patch('dbus.SystemBus')
def test_is_managed_by_networkmanager_is_managed_true(self, fake_bus, fake_interface):

    fake_bus.return_value = self.bus
    fake_interface.side_effect = self.get_interface()
    is_managed = interfaces.is_managed_by_network_manager(self.interface_0)
    message = 'the    managed    property    should    be    true'
    self.assertTrue(is_managed, message)
