'L{VHostMonsterResource.getChild} returns I{_HostResource} and modifies
I{Request} with correct L{Request.isSecure}.'

def test_getChild(self):

    vhm = VHostMonsterResource()
    request = DummyRequest([])
    self.assertIsInstance(vhm.getChild('http', request), _HostResource)
    self.assertFalse(request.isSecure())
    request = DummyRequest([])
    self.assertIsInstance(vhm.getChild('https', request), _HostResource)
    self.assertTrue(request.isSecure())
