'L{makePersonalServerFactory} returns a PB server factory which has
as its root object a L{ResourcePublisher}.'

def test_makePersonalServerFactory(self):

    site = Site(Data('foo    bar', 'text/plain'))
    serverFactory = makePersonalServerFactory(site)
    self.assertIsInstance(serverFactory, PBServerFactory)
    self.assertIsInstance(serverFactory.root, ResourcePublisher)
    self.assertIdentical(serverFactory.root.site, site)
