'L{Resource.putChild} adds a I{static} child to the resource.  That child
is returned from any call to L{Resource.getChildWithDefault} for the
child\'s path.'

def test_staticChildren(self):

    resource = Resource()
    child = Resource()
    sibling = Resource()
    resource.putChild('foo', child)
    resource.putChild('bar', sibling)
    self.assertIdentical(child, resource.getChildWithDefault('foo', DummyRequest([])))
