'L{NameVirtualHost.render} returns a response with a status of I{NOT
FOUND} if the instance\'s C{default} is L{None} and there is no host
matching the value of the I{Host} header in the request.'

def test_renderWithUnknownHostNoDefault(self):

    virtualHostResource = NameVirtualHost()
    request = DummyRequest([''])
    request.requestHeaders.addRawHeader('host', 'example.com')
    d = _render(virtualHostResource, request)
    def cbRendered(ignored):
        self.assertEqual(request.responseCode, NOT_FOUND)
    d.addCallback(cbRendered)
    return d
