Github user eolivelli commented on the issue:
https://github.com/apache/zookeeper/pull/546
@anmolnar sure, thanks.
I will add tests. I prefer using Mockito in this case, it makes it clear
that we are testing only a part of the class---
