def METHOD_NAME(self):
    """
    Tests set_static_all with no dns provided
    """
    save_config_mock = MagicMock(return_value=None)
    with patch.dict(nilrt_ip.__grains__, {"lsb_distrib_id": "nilrt"}):
        with patch.object(
            nilrt_ip, "_get_adapter_mode_info", MagicMock(return_value="TCPIP")
        ):
            with patch.object(nilrt_ip, "_save_config", save_config_mock):
                with patch.object(
                    nilrt_ip, "_restart", MagicMock(return_value=None)
                ):
                    self.assertEqual(
                        True,
                        nilrt_ip.set_static_all(
                            "eth0", "192.168.10.4", "255.255.255.0", "192.168.10.1"
                        ),
                    )
                    self.assertEqual(
                        None,
                        next(
                            (
                                call
                                for call in save_config_mock.mock_calls
                                if "DNS_Address" in call.args
                            ),
                            None,
                        ),
                    )