'If ``transform`` is supplied with an empty path, the operation is
performed on the root object.'

def test_transform_empty_path(self):

    proxy = _TransformProxy(pmap({'a': 1}))
    proxy.transform([], (lambda o: o.set('a', 2)))
    self.assertEqual(pmap({'a': 2}), proxy.commit())
