'Create a L{MemoryReactorClock} and give it some hostnames it can
resolve.
@return: a L{MemoryReactorClock}-like object with a slightly limited
interface (only C{advance} and C{tcpClients} in addition to its
formally-declared reactor interfaces), which can resolve a fixed
set of domains.'

def createReactor(self):

    mrc = MemoryReactorClock()
    drr = deterministicResolvingReactor(mrc, hostMap={u'example.com': [EXAMPLE_COM_IP], u'ipv6.example.com': [EXAMPLE_COM_V6_IP], u'example.net': [EXAMPLE_NET_IP], u'example.org': [EXAMPLE_ORG_IP], u'foo': [FOO_LOCAL_IP], u'foo.com': [FOO_COM_IP]})
    drr.tcpClients = mrc.tcpClients
    drr.advance = mrc.advance
    return drr
