'Filesystems are created with the correct pool and dataset names.'

def test_filesystem_identity(self):

    mount_root = FilePath(self.mktemp())
    pool_name = create_zfs_pool(self)
    pool = StoragePool(reactor, pool_name, mount_root)
    service = service_for_pool(self, pool)
    volume = service.get(MY_VOLUME)
    d = pool.create(volume)
    def gotFilesystem(filesystem):
        self.assertEqual(filesystem, Filesystem(pool_name, volume_to_dataset(volume)))
    d.addCallback(gotFilesystem)
    return d
