def setUp(self):
        super(SystemGatewayPublicDirectoryTestCase, self).setUp()
        self.gw = SystemGateway()
        self.user1 = make_storage_user(username='sharer')
        self.vgw = ReadWriteVolumeGateway(self.user1)
        self.root = self.vgw.get_root()
        dir1 = self.vgw.make_subdirectory(self.root.id, 'a-folder')
        self.dir = self.vgw._get_node_simple(dir1.id)