def METHOD_NAME(self):
    """
    Tests _change_state when not connected
    and new state is down
    """
    iface_mock = MagicMock()
    iface_mock.name = "test_interface"
    with patch("pyiface.getIfaces", return_value=[iface_mock]):
        with patch(
            "salt.modules.nilrt_ip._change_dhcp_config", return_value=True
        ) as change_dhcp_config_mock:
            assert nilrt_ip._change_state("test_interface", "down")
            change_dhcp_config_mock.assert_called_with("test_interface", False)