def test_proxies_added(self):
        fake_network = make_memory_network()
        api = ApplicationNodeDeployer(
            u'example.com',
            docker_client=FakeDockerClient(),
            network=fake_network)

        expected_proxy = Proxy(ip=u'192.0.2.100', port=3306)
        d = SetProxies(ports=[expected_proxy]).run(
            api, state_persister=InMemoryStatePersister())
        self.successResultOf(d)
        self.assertEqual(
            [expected_proxy],
            fake_network.enumerate_proxies()
        )
Test if it enable DHCP
dataset/ETHPy150Open ClusterHQ/flocker/flocker/node/test/test_container.py/SetProxiesTests.test_proxies_added--crossover with--dataset/ETHPy150Open saltstack/salt/tests/unit/modules/ilo_test.py/IloTestCase.test_enable_dhcp