'L{Resource.getChildWithDefault} delegates to L{Resource.getChild} when
the requested path is not associated with any static child.'

def test_dynamicChildren(self):

    path = 'foo'
    request = DummyRequest([])
    resource = DynamicChildren()
    child = resource.getChildWithDefault(path, request)
    self.assertIsInstance(child, DynamicChild)
    self.assertEqual(child.path, path)
    self.assertIdentical(child.request, request)
